Hacker News new | past | comments | ask | show | jobs | submit
Remember the OOP Hype 20 years ago? I'm still cleaning shit up from then in our codebase when everyone used patterns after skimming through the GoF book without even knowing why .... My prediction is in 20 years I will clean up the shit that was co-authored by Claude ...

https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345...

OOP and GoF are not the same thing - conflating the two has been the biggest mistake everyone has made (detractors and proponents alike)
And there's nothing "wrong" with the GoF Patterns per-se. The issue was always people applying them blindly without understanding why (or more to the point, "if") they were needed. Once writing code filled with patterns became "the thing you do"... all bets were off. :-(
I remember putting stuff like this on my resume "developed X using visitor pattern" . ppl would ask "what is your favourite design pattern" in interviews. lmao.
Lol the worst pattern
Strangler fig is one of the best, with one of the worst names
Yeah, it's still useful to refer to patterns.

Facades and stranglers are massively useful patterns, and help explain concepts to the layman.

Personally I've never been patterns over everything, so I'm not going to now knee jerk and say no patterns ever.

There's a time and a place for everything.

edit Fuck. A reread on that and I sound like AI. Updated

“Big ball of mud” is a good one
I know, but they didn't.
The idea that a lot of people have in their heads is that if the code doesn't fit the need, you'll just start over completely with a fresh codebase, because it's so fast to generate it.

In other words, there won't be 20-year-old code in this future.

We'll see if that comes to pass, but there's a lot of money betting that will happen; enough to where people will disregard what the downsides are.

my roommate at the time was trying to implment all the patterns from gof book at work. it was ridiculous but hype was ridiculous.