What is the mark of good programming?
11/18/09
, Posted by Gregfox at 10:17 AM
Actually, the first and most important rule of writing good code is to comment your code....In a past few days or months, you may need to go back and rewrite something. You need to be able to look at the code and know what it is doing. The most effective way of doing this is to comment your code as you write it.
Equally important, don't just start writing code. Sit down and write out a statement as to what you want your code to do before you ever start. That will help you stay focused on what it is you are trying to achieve.
Currently have 0 comments: