Posted by: terryhowe | November 7, 2011

YAGNI Principle

The YAGNI or “You ain’t gonna need it” principle is one principle I have fully embraced.  The reasons for YAGNI are:

  • The time spent is taken from adding, testing or improving necessary functionality.
  • The new features must be debugged, documented, and supported.
  • It may lead to code bloat.
  • The requirement for the feature has not be clearly defined, so it may be incorrect.
The reluctance to remove dead code that you ain’t gonna need also mystifies me.  Normally, you are using a perfectly good source code control system and in the unlikely event you ever wanted to see a piece of dead code you removed, look at the history.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: