Forgot your password?

+ - Code is not literature->

Submitted by Anonymous Coward
An anonymous reader writes "Hacker and author Peter Seibel has done a lot of work to adopt one of the most widely-accepted practices toward becoming a better programmer: reading high quality code. He's set up code reading groups and interviewed other programmers to see what code they read. But he's come to learn that that overwhelming majority of programmers don't practice what they preach. Why? He says, 'We don’t read code, we decode it. We examine it. A piece of code is not literature; it is a specimen.' He relates an anecdote from Donald Knuth about figuring out a Fortran compiler, and indeed, it reads more like a 'scientific investigation' than the process we refer to as 'reading.' Seibel is now changing his code reading group to account for this: 'So instead of trying to pick out a piece of code and reading it and then discussing it like a bunch of Comp Lit. grad students, I think a better model is for one of us to play the role of a 19th century naturalist returning from a trip to some exotic island to present to the local scientific society a discussion of the crazy beetles they found.'"
Link to Original Source
This discussion was created for logged-in users only, but now has been archived. No new comments can be posted.

Code is not literature

Comments Filter:

To the systems programmer, users and applications serve only to provide a test load.