This the kind of code I aspire to write.
The Computer History Museum has earlier made available the source code to MacPaint (which you'll find here http://www.computerhistory.org/atchm/macpaint-and-quickdraw-source-code/)."
"An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup." - H.L. Mencken