Read Great Code to Write Great Code
Thursday, October 12th, 2006In Issue 134 of The Embedded Muse, editor Jack Ganssle writes:
I have a beef with many college computer science departments. If one
wanted to be a great novelist the English Department would require
that this person knew how to read, and would have insured he’d read
many great novels before starting one of his own. The Music
Department would assume an aspiring composer had listened to lots and
lots of music, and read many scores. Yet CS Departments take a
different tack: Here’s how a for loop works. Your assignment: write
some code. As a result most graduates are forced to invent their own
styles and adopt some half-baked (if any) process.Programming students should read great code. A lot of it.
Professional developers should read great code. A lot of it. We can
and must be constantly learning.






