- Think first. Think some more. Think about the whole problem. Think about a little part of the problem you're going to start with. Think about the whole thing again, in relation to your idea on the starting point.
Don't write code until you know what you're doing. Now, you may not be able to "know what you are doing" just from thinking, in which case you should start a TEST project and write a bunch of ugly code to make sure your ideas are correct.
Write the comments first – Start your programs and procedures/functions by writing a few
sentences explaining what they are supposed to do. If you CANNOT write these comments,
you probably do NOT understand what the program does. It is much easier to debug
comments, than programs, and the additional typing is worth the effort.
additional read:
http://blog.wilshipley.com/2005/02/free-programming-tips-are-worth-every.html
and Coding tips java....
Make every of your opinion and knowledge count...:D...add more....
No comments:
Post a Comment