Changes between Version 17 and Version 18 of HowtoGoodProgrammingTechniques
- Timestamp:
- Feb 25, 2013, 4:17:31 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowtoGoodProgrammingTechniques
v17 v18 89 89 * Always use local variables, don't share them externally or you can have catastrophic results 90 90 91 * Use vim with a good set of plugins, no way to use a less powerful one91 * Use a good powerful editor with good plugins, like vim with a good setup 92 92 93 93 * trap signals, like exit errors etc … … 95 95 * the simplest procedure/option is the best, do not think in complex ways to do supa-dupa-intelligent-features if they are not needed 96 96 97 * Think on multi-work, if you use a tempora ldirectory called /tmp/myapp, you could have conflict when another user try to use the same application which will point to the same location (so /tmp/user-myapp is a good option). Or also including the ID of the process is also a good method for avoid re-using the same directory if the application can be launched multiple times97 * Think on multi-work, if you use a temporary directory called /tmp/myapp, you could have conflict when another user try to use the same application which will point to the same location (so /tmp/user-myapp is a good option). Or also including the ID of the process is also a good method for avoid re-using the same directory if the application can be launched multiple times 98 98 99 99 * [http://www.makinggoodsoftware.com/2009/06/04/10-commandments-for-creating-good-code/ 10 rules for creating good code] that must be read until becomes subconscious