The Pragmatic Craftsman :: Simplicity from complexity ::

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.

Comments are closed.

Random Quote

Topics

Tags

Archive

Recent Entries

Currently Reading

Shelfari: Book reviews on your book blog

:: The Pragmatic Craftsman recommends

:: The Pragmatic Craftsman book reviews

Info

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

@PragCraftsman on Twitter

"Beauty of style and harmony and grace and good rhythm depends on simplicity." -Plato - 11 hours agoI can't argue with the previous quote. To me, the hardest thing to accomplish is simplicity. It's the art in programming. - 11 hours ago"The bottom line is that beautiful code is simple code." -Jorn Olmheim - 11 hours ago@johanvos How can I see Mr. Gosling's code? I'd like to take a peek. - 2 days agoConfiguring Google AppEngine to run JSF is a pain. Following instructions from http://bit.ly/9DB18a #gae #jsf - 2 days ago