3 ms·
OOP and GoF are not the same thing - conflating the two has been the biggest mistake everyone has made (detractors and proponents alike)
by awesome_dude 5mo ago
OOP and GoF are not the same thing - conflating the two has been the biggest mistake everyone has made (detractors and proponents alike)
- spkm 5mo agoI know, but they didn't.
- mindcrime 5mo 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 5mo 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 5mo agoLol the worst pattern
- derwiki 5mo agoStrangler fig is one of the best, with one of the worst names
- _puk 5mo 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 5mo 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)