3 ms·
Design patterns are good practices that emerge when a language is used by a lot of people. That's it. Nothing less, nothing more. There are two kinds of langua
by hota_mazi 10y ago
Design patterns are good practices that emerge when a language is used by a lot of people. That's it. Nothing less, nothing more.
There are two kinds of languages: languages that have design patterns and languages that don't have a lot of users.
- goatlover 10y agoSo Haskell and Lisp are just lacking users? It has nothing to do with language design?
- throwaway729 10y ago"functional pearls" == "design patterns" without the architectural garbage.
- shados 10y agoThose languages have a ton of patterns. Heck, not only they have patterns, but some of the patterns are studied to the point of having an entire branch of mathematics dedicated to them and have countless properties that can be proven about them. They even predate the language (Category Theory)
- aidenn0 10y agoMacros that have names starting with "with-" and allocate some non-managed resource for the dynamic scope of their body are one obvious design pattern in Lisp.