YAGNI principle in programmation

For the sake of perfection, when you code, you regularly plan features that could be added to your software in a close future.

But, this approach has many inconvenients:
– More time for testing and improving your application
– More time for debugging your application
– New features impose constraints on what could be necessary in the future
– As a feature is not actually necessary, you can’t fully anticipate what will be its exact behavior
– A new feature implies new possibilities, new developments, so it becomes extremely easy to blow your deadline

Don’t worry, YAGNI principle will save you from hell.

YAGNI principle stands for “You Ain’t Gonna Need It” !
Don’t add a feature to your application if it doesn’t really need it now.

Simple and logic… right?

I will really need his principle for the future, hope it could help you too becoming a great developer.

YAGNI principle in programmation

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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