It depends

Usually, in software development, there isn't always a definitive black-and-white answer to a question or situation.

Most of the time, the answer is "it depends".

How you approach a problem depends on context.

How long do you have?

Are you working on the final version or a prototype or minimum-viable product?

Should you use a contributed module or write one yourself?

What if an existing module hasn't been updated for some time or doesn't have tests or other quality checks included?

Do you write custom CSS or use a framework like Tailwind CSS or Bootstrap?

Should this project be written in this framework or CMS, or would a different one be better suited?

Here's the thing...

There are usually multiple approaches to achieve the same result.

Decisions will depend on a combination of various factors. In a different situation, the answer could be different.

This doesn't make any solution outright wrong.

It was right given the situation.

- Oliver

P.S. Need help or want another pair of eyes on your code? Book a 1-on-1 consulting call or an online pair programming session with a 100% money-back guarantee.,

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 Acquia-certified Drupal Triple Expert with 17 years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.