DEV Community

Discussion on: Solid. Is It Still Useful In 2021?

Collapse
 
anicholson profile image
Andy Nicholson

I think the SOLID principles are just as relevant now as they’ve ever been, and FP languages still benefit from applying the values behind them.

The thing a lot of developers miss about SOLID: they’re about useful shapes for indirection & abstraction: they can’t tell you whether adding abstraction or indirection is the correct path to take in your setting & context.

As long-time OOer and modeling guru Sandi Metz says, “the wrong abstraction is more costly than no abstraction at all.”

And it’s precisely because introducing abstraction & indirection bear design cost that the SOLID principles are useful & relevant!