Zebra0.com

java debugGood habits for learning to program

Good habits for learning to program

A good way to learn to program is to do the following for every program:

  1. Get the sample program to work.
  2. Break it, find out what error messages you get.
  3. Modify it. Make it do something slightly different.
  4. Erase it, then try to rewrite it without looking at your notes.
  5. End of lesson, Next lesson: