3 ms·
> It's relatively popular opinion that some design patterns are used because some languages lack some features that can achieve similar stuff in "better" way.
by nuerow 5y ago
> It's relatively popular opinion that some design patterns are used because some languages lack some features that can achieve similar stuff in "better" way.
You're confusing a couple of unrelated issues there. Just because you need to implement a design pattern if you want to use it with a language/framework that doesn't provide it's own implementation, quite obviously that does not mean that design patterns only exist if you implement them yourself. That's a terribly silly misconception, and demonstrates a misunderstanding of the very basics of what a design pattern is.
Just to be absolutely clear, even Wikipedia defines design patterns as "a general, reusable solution to a commonly occurring problem within a given context in software design", and a "description or template for how to solve a problem that can be used in many different situations." What exactly is there in the definition that ties this to an implementation?
- tester34 5y ago>What exactly is there in the definition that ties this to an implementation? In definition nothing, but I believe there are very popular implementations (mostly one) of given design pattern that people are aware of and associate with given design pattern and I guess it may kinda improve communication? idk.