Changes between Version 8 and Version 9 of HowtoGoodProgrammingTechniques
- Timestamp:
- Aug 24, 2012, 9:06:21 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowtoGoodProgrammingTechniques
v8 v9 62 62 When the application becomes big and start having a lot of names for variables, it is good to know what's exactly that variable, to know if we are dealing with a file, with a directory, or with a value, I personally use for that a suffix (ending in) in the variables like '''_v''' for values, '''_d''' for identifying directories, '''_f''' for identifying a file. 63 63 64 65 == Procedure == 66 1. Write the feature and make it to work 67 1. Minimize the code (less lines, simple and short functions, less-complex algorithms, etc) 68 1. Structure it correctly (spaces/readability, comments, begin-end parts, local variables, etc) 69 1. Convention names, take some seconds to decide the optimal names for your variables and calls 70 64 71 == Extra == 65 72