Link Details

Link 199614 thumbnail
User 225256 avatar

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.
  • 10
  • 0
  • 697
  • 253

Comments

Add your comment
User 368023 avatar

yakkoh replied ago:

-1 votes Vote down Vote up Reply

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.

User 233461 avatar

antych replied ago:

2 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)