Monday, August 20, 2012

Debugging and Commenting

  • Jamie Zawinski: Prints. Assumptions and what it does. Layout of data structures [rfc style ?]. What is this for? What's the range of inputs? Long variable names as descriptive as possible except for loop iterators.Digging into an API and figure out which part is needed and which is not is important now.
  • Donald Knuth: The CWEB System of Structured Documentation. The problem is that coding isn’t fun if all you can do is call things out of a library, if you can’t write the library yourself. If the job of coding is just to be finding the right combination of parameters, that does fairly obvious things, then who’d want to go into that as a career?
     

No comments:

Post a Comment