Jump to the navigation menu

YAGNI

I like to keep my code simple.

I only write the code I need to add the functionality I need, and I only include the current requirements.

There's no benefit to writing code for additional requirements that may never be needed or used.

I also think this when adding new modules or packages, or implementing a design pattern.

Do I really need this?

What value does it add?

Is there a simpler way to achieve the same thing?

If so, I'm happy to call YAGNI on it.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an certified Drupal Triple Expert with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.