Thursday, March 31, 2011

Want to write some code? Get away from your computer!

http://blog.rtwilson.com/want-to-write-some-code-get-away-from-your-computer/


Being away from the computer forces you to run through all of the thoughts in your head – which tends to take longer than getting a computer to compile and run your code (for small code bases at least…). So you don’t tend to make tiny changes and re-run things, you tend to actually think about what the code is doing. Until I did this on the train the other day, I hadn’t actually run a piece of code on paper (that is, written down columns for each of the variables and worked out what each value will be at each stage in the program) since my Computing A-Level exam!

No comments:

Post a Comment