Skip to main content

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.

Was this interesting?

Subscribe to my daily newsletter for software professionals on software development and delivery, Drupal, DevOps, community, and open-source.

About me

Picture of Oliver

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