Thursday, April 17, 2014

K.I.S.S. - No, not the band...

You've probably heard KISS before.  Some say "Keep it Simple and Straightforward" or "Keep it Sweet and Simple."  There are a surprising number of variants to this simple acronym, but the point remains the same.

As a developer I struggle with this often.  It's hard to resist the urge to add complex functions, intricate testing, and twisting logic behind the scenes to give every nuance it's chance to be handled in the perfect and expected way.  The problem is that the more complex you make something, the easier it is for a simple mistake to slip in and the more layers you have to debug it.  Sometimes it's worth the hour to plan out a simpler solution, then execute that one, so long as it meets your requirements.

The moral of this story is this, whenever you can, Keep it Simple, Stupid.

No comments:

Post a Comment