Changes

248 bytes added ,  23:12, 1 March 2009
Line 1: Line 1:  
==General Programming Tips==
 
==General Programming Tips==
βˆ’
*Keep your code commented throughout; it helps others help you.
+
*Keep your code commented throughout; it helps others help you. How much you comment it is a matter of debate; in general, people tend to comment bits of code where it isn't obvious what it actually does or why, or variables that aren't obvious what they are used for (or are not used until quite a bit later on).
 
*Any unused code should be deleted out of the program, unless it is a program for teaching people.
 
*Any unused code should be deleted out of the program, unless it is a program for teaching people.
 
*If someone does the same thing in a more efficient way (i.e. faster and/or in less code), accept it and learn from it.
 
*If someone does the same thing in a more efficient way (i.e. faster and/or in less code), accept it and learn from it.
 
*It is a good idea to release your app open source so others can learn from your code.
 
*It is a good idea to release your app open source so others can learn from your code.
 
*To keep things tidy, make your application store files in the data folder on the root of the SD card (fat0:\data\XXXXX, where XXXXX is the name of your app).
 
*To keep things tidy, make your application store files in the data folder on the root of the SD card (fat0:\data\XXXXX, where XXXXX is the name of your app).
βˆ’
  βˆ’
      
==Code Snippets==
 
==Code Snippets==
792

edits