4 ms·
The idea that you don't need design patterns in smaller code bases is so strange to me. Design patterns are not some mechanisation designed by Big Code to get i
by mvdtnz 3y ago
The idea that you don't need design patterns in smaller code bases is so strange to me. Design patterns are not some mechanisation designed by Big Code to get in your way. We call them patterns because they are similar structures that tend to reappear time after time in many codebases. Design patterns just gives them a vocabulary and a consistent(ish) style.
If you're working on smaller code bases and you're not seeing design patterns emerge I would strongly question what's going on (or whether you understand patterns).
- grugagag 3y agoThere is one thing to have patterns emerging from code and being able to identify them and trying to shoehorn your code into patterns . Obviously the latter is a problem and I think it’s the culprit for the hate design patterns get. From my experince.. I’ve seen some twisted abominations in the name of design patterns in various codebases throughout my career, I think there’s some truth to it. However, I don’t disqualify the use of design patterns, they do have their own merits when used properly.