Computer History Museum | MacPaint and QuickDraw source code - http://www.computerhistory.org/highlig...
Jul 20, 2010
from
Dan Hsiao,
Benjamin Golub,
Paul Buchheit,
April Buchheit,
Kelly,
İlter Kalkancı,
David Vasileff,
Simon,
Soup in a TARDIS,
Space Cowboy,
Amit Patel,
Marco Fabbri,
Shakeel Mahate,
Bruce Lewis,
Andrew C (✔),
Holden Page,
and
gpessia
liked this
"In writing MacPaint, Bill was as concerned with whether human readers would understand the code as he was with what the computer would do with it. He later said about software in general, "It's an art form, like any other art form... I would spend time rewriting whole sections of code to make them more cleanly organized, more clear. I'm a firm believer that the best way to prevent bugs is to make it so that you can read through the code and understand exactly what it's doing… And maybe that was a little bit counter to what I ran into when I first came to Apple... If you want to get it smooth, you've got to rewrite it from scratch at least five times."¹"
- Jim Norris
Did you read the code? It is very clean, broken down into lots of little bite-sized functions. Interestingly, comments are relatively rare. I wouldn't have minded some sort of overview (but I haven't gotten to the main block, maybe it has one).
- ⓞnor