Programming Advice

When first learning how to program, it is helpful to have several windows open at once:

  1. the course wiki page that shows the sample output (it is useful to see the sample output while you are working, because when you see what is SUPPOSED to print, then it helps you look at the code and see what parts of the code are missing)
  2. jEdit with the color coded sample code showing. This is the file you will edit and save (repeatedly).
  3. an ssh window so that you can repeatedly try and run the program every time you make a change to the code.

If you go through it systematically and just try to get one part at a time working, you can comment out all of the code in the entire file by adding a # sign to the beginning of each line of code. Then, remove the # when you think you have fixed each problem.

courses/cs353-201201/programming_advice.txt · Last modified: 2012/01/04 22:13 by mlsmith
VCCS Top Events Extended Site Search Login Vassar Science Web Vassar Home Driven by DokuWiki Valid XHTML 1.0