Wednesday, December 27, 2006

paradigm shift

I spent a fair bit of time at the office today doing some work on my grade program. In the past, everything had been done with a lot of command-line arguments (number of quizzes given so far, number of class days, etc.), and I had two identical copies with different names, because what name you used to call the program determined how detailed was the information you got back. (Someone got too used to having symbolic links in Unix-like operating systems.) But no more! Now all those parameters live inside the student data file (along with all the student data), and the only command-line argument determines what used to be determined by the name of the program (plain output or fancy output). So hoorah!

No comments: