3 ms·
"Errors cannot be avoided by recipe. If they could, we could eliminate automobile accidents by plastering the countryside with Drive Carefully signs!" -- Andrew
by silentbicycle 18y ago
"Errors cannot be avoided by recipe. If they could, we could eliminate automobile accidents by plastering the countryside with Drive Carefully signs!" -- Andrew Koenig, _C Traps and Pitfalls_
Some of the article's examples come straight from that book, BTW.
- smhinsey 18y agois that quote meant seriously? certainly it's obvious that the analogy doesn't work. we do have signs plastered around the countryside that are recipes for driving, they just actually include the ingredients. i would think the same applies to code, but rather than recipes, to hold the analogy, you are providing templates for recipes, or maybe style guides for writing recipes. (bad analogy, imho.)
- silentbicycle 18y agoMore like listing mistakes to watch for. I was mostly posting to note that the book was a much more in-depth collection of same.