Skip to content

Bad Coding Practices in CvGameCoreDLL

billw2012 edited this page Aug 26, 2019 · 1 revision

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
Clone this wiki locally