3 ms·
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
by spkm 4mo ago
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/116654345332213390 https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345...
- awesome_dude 4mo agoOOP and GoF are not the same thing - conflating the two has been the biggest mistake everyone has made (detractors and proponents alike)
- spkm 4mo agoI know, but they didn't.
- mindcrime 4mo agoAnd 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. :-(
- dominotw 4mo agoI 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.
- whattheheckheck 4mo agoLol the worst pattern
- derwiki 4mo agoStrangler fig is one of the best, with one of the worst names
- _puk 4mo agoYeah, 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
- NegativeLatency 4mo ago“Big ball of mud” is a good one
- awesome_dude 4mo agoI do have a favourite (couple of) design pattern(s) SOLID and Hexagonal Programming But these are not GoF patterns (although Singleton's are, and I do recall how it was incredibly difficult to produce a singleton in some languages - eg. Python)
- dominotw 4mo agomy roommate at the time was trying to implment all the patterns from gof book at work. it was ridiculous but hype was ridiculous.
- lenerdenator 4mo agoThe 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.