Comments (6)
Yes, that is an excellent idea. Right now I'm tracking down our original T3D code style document that can be used as a base.
from torque3d.
http://tdn.garagegames.com/wiki/CodeStyleGuide
is the only one ive ever seen posted
from torque3d.
VMs should have resolved this issue without such guidelines. I prefer Whitesmiths.
from torque3d.
@Bloodknight thanks for that! It doesn't go over guidelines for things like spaces around parentheses: if ( myBool )
versus if(myBool)
, which I guess is a really minor issue, but would be nice to have some consensus over! It seems like GG was divided internally, as well... I can't find a consistent style within the codebase.
@Dzonatas what do you mean by VMs? Whitesmiths looks odd to me - the engine tends to be written in Allman style as far as I can see.
from torque3d.
Personal preference is for Java style with a pet hate for the torque method of extra spaces inside parenthesis, they look like somebody forgot to add something. Another pet hate is single If lines with no braces, personally i think that is begging for a bug to be added.
That said much of my work is working on/with other peoples code, i tend to only get vocal when people mess with my own files.
from torque3d.
Our Contributing wiki page now has a link to our chosen Code Style Guidelines to be followed.
from torque3d.
Related Issues (20)
- Volumetric Fog doesn't work on dedicated. HOT 2
- Crash on shipping build, console HOT 1
- No lighting for a moment at level load HOT 2
- bullet and physx collision meshes are broke HOT 2
- OpenAL SFX should be relative to "ear" bone HOT 4
- Openal-soft Broke Linux HOT 3
- NFD open file browser crash HOT 1
- Whether the-Forge for Torque3D is ready now or still in developing? HOT 1
- BaseGame Script Review HOT 2
- Terrain shadow wiggle issue HOT 3
- Cmake 3.16.rc warnings
- Build failing on Ubuntu 18.04.3 HOT 2
- GUI editor crashes engine when attempting to save outside of the program directory.
- aarch64 architecture support for linux and Windows 10 on ARM
- SFXEnvironment = busted
- Is Torque3D dead? HOT 2
- I need some help with the launching
- TC game
- Tcgame
- Torque on Solaris Illumos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torque3d.