The Pragmatic Craftsman :: Simplicity from complexity : by Stanley Kubasek ::

What is good code?

I’ve heard many definitions, but the one below, by Kirk Knoernschild, seems closest to my heart.

Quality code is code that:

  • can adapt to change
  • performs well
  • is error free
  • is as simple as possible
  • does what my customer needs

On a related not, here’s what Robert Martin, a software craftsman, has to say how to write quality code:

The only way to go really fast is to write the best code you can possibly write, with the best design you can possibly give it. Any other technique will slow you down. … In my estimation the belief that quality is an expediter rather than an impediment is what separates professionals from amateurs.

Related Posts

Favorite Quote

Topics

Tags

Archive

Currently Reading

Shelfari: Book reviews on your book blog

:: The Pragmatic Craftsman recommends

:: The Pragmatic Craftsman book reviews

Info

© 2001-2012 Stanley Kubasek About me :: Contact me

Me on Twitter

@leszekgruchala Good to hear it's fast. Looking to upgrade to IntelliJ 11 soon. - 2 days agoPutting related classes together is another way of looking at "structuring your code by feature." Makes your code more cohesive. Big + imho - 11 days agoplanetgeek.ch » Structure your code by feature - http://t.co/KcpMBKVg (via @sociablesite) #sociable - 11 days agoTell Congress: Don’t censor the web! http://t.co/ZEkgOAW7 - 18 days agoI must admit, I'm one of those developers that doesn't know too much about WeakReferences in Java. http://t.co/HjW7v9e0 Time to change that. - 19 days ago

»see more

Recent Entries