"A modern developer need not know the Gang of Four "Design Patterns",
but they should at least have forgotten them."

Agree? 🤔

 boost appreciated, let's find out!

Yep, still relevant
34.7%
No, it's not 1994
35.5%
The what patterns? (see replies)
29.8%
Poll ended at .
Design Patterns - Wikipedia

It's got names you'll recognise:

  • Factory
  • Adapter
  • Proxy
  • Singleton

etc

But was designed for a C++/Java/Smalltalk world.

IMO, if your language has first-class functions and closures, you don't really need them...

@noboilerplate Yeah, I agree Factory is by far the worst. It's just a `fn() -> impl T`/`Supplier<? extends T>`

That's one thing that Java 8 really rubbed in my face. There were _SO_ many single-function interfaces that I replaced/deleted with closures.

@noboilerplate Hell yes! Hung a lampshade on this when xe were contributing to the CoffeeScript Cookbook.
@noboilerplate I would argue further that it was designed for “classic” C++. We have C++20 now and most of these are obsolete in that context. Modern C++ has design patterns all of its own.
@noboilerplate Interestingly, the method factory is pretty much what rust implemented as traits. I think at least some design patterns can be used by programing language designers as feature needs.