Thursday, December 31, 2009

Tips, advice, how can i become a better programmer?

I spend too much time debugging my programs


I tend to get frustrated quick





How do you Handle a programing project?Tips, advice, how can i become a better programmer?
I'm sorry to have to say this, but,


plan


write


debug


debug.





In other words, you're just going to have to be patient. Donald Knuth, who is something of a god of programming, once kept a programming log where he kept track of his mistakes and his fixes. After twenty years a review of his journal convinced him he was still making the same bone-headed mistakes he made as a novice. The only thing that changed was he became better at debugging from all the practice he got. Actually, he made some improvements in the early years by good programming practice -- literate programming, structured programming and above all PREPARATION but he reached a plateau and stayed there as far as errors were concerned. If you want to be a better programmer, plan, practice, and be patient. As they say in English Class, ';Good Writing is Rewriting'; and as they used to say at Brown University when my sister went there four decades ago, ';English Majors make the best Programmers.';





Tips, advice, how can i become a better programmer?
Also, don't just open up an IDE and ';wing it'; when starting a new project. Be sure to have some sort of rough design in your head as to what the source will look like when it's finished. You'll find that programming is a lot easier when you know what you're trying to program first.
Get good coding examples from other people(or their libraries).


Read thru the code and copy what you like to a common library.





Debugging - make note of the kinds of mistakes you make - keep a list for a while - we tend to repeat our mistakes
Practice, practice and more PRACTICE! It helps!





Peace to you and yours,


Matthew ';Dra'Gon'; Stohler

No comments:

Post a Comment