Stop the FUD on Rails Performance :) Can Apple Stop You From Selling Your iPod?
Feb 28

RE: What is good code?

Tech Add comments

Kirk Knoernschild has responded to the question: “What is good code?”:

Ignoring speed of development for a moment, is the best code software that:

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

I think the last point is probably the best. Assuming that ‘not erroring out or being too slow’ is something that your customer needs, then this says it almost all:

Does what my customer(s) need

All of the other items fit under this umbrella, even if the customer doesn’t know it. E.g. do they know that ’software which is managable and easy to maintain’ is what they need? They should.

Maybe ‘performs well’ could be ‘performs fast enough for their needs’.

The comment: ‘is as simple as possible’ is also a leading one. Simple in what way?

The best part is that:

“Must use latest and greatest acronyms”

isn’t on the list ;)

Business Value

Another part of the equation is business value. We often ‘let the business guys take care of that’ and we just implement what they want. Is good code good if it is never used because the idea behind it wasn’t good?

To add more value, consultants and the like need to get up the ladder a little and think about business value.

2 Responses to “RE: What is good code?”

  1. all type of nail fungus Says:

    subj to arouse interest

  2. all type of nail fungus Says:

    subj to arouse interest

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: What are the first four letters in the word British?