By mswatcher
via developerzen.com
Published: Jul 05 2009 / 14:16
I was on a phone interview the other day where I was asked for my definition of “Good Code”.
The first thought that came to mind was maintainability – if it can’t be understood, maintained and extended by other developers than its definitely not good.



Comments
yakkoh replied ago:
All this is okay, but THE definition for good code is: NO BUG. None, nil, zero, nada, zilch.
All the rest is derived and defined from from this principle: no bug.
Strangely enough, these definitions are coming from a company that has notorious and numerous bugs.
antych replied ago:
There's no code without bugs, your logic is flawed. Code needs to be simple, readable and easy to modify. Bugs are largely irrelevant as long as they don't make it to the final product.
Voters For This Link (10)
Voters Against This Link (0)