Bad Coding Practices in CvGameCoreDLL - caveman2cosmos/Caveman2Cosmos GitHub Wiki
A list of some of the bad coding practices seen in the CvGameCoreDLL code base. Details of why and examples to follow.
- Reusing variables
- Bad variable names (iTempValue, iI etc.)
- Variables declared before they are needed
- Deep nesting of scopes
- Massive functions
- Massive files