I recently discovered a pretty good discussion on what “good code” is. The original author, Bill Carlson, specified quite a few good points. Points that according to him make the code good. Before I list the summary of the points, let me just say that if you are interesting in writing quality code, I think you should (you must) read Steve McConnell’s Code Complete. It will open your eyes. It opened mine. (See my review in Books I Recommend.)
Attributes of “Good Code:”
Read the whole discussion on The Old Joel on Software Forum: “Good Code” – What is it?