3 ms·
There was also a great discussion about this on Stack overflow: http://stackoverflow.com/questions/327955/does-functional-programming-replace-gof-design-pattern
by DanielRibeiro 15y ago
There was also a great discussion about this on Stack overflow: http://stackoverflow.com/questions/327955/does-functional-programming-replace-gof-design-patterns http://stackoverflow.com/questions/327955/does-functional-pr...
TL;DR: Gof had in mind C++ and Smalltalk. Some languages eliminate the need for many of the patterns in GoF, and they don't eliminate the idioms (patterns for a particular language), as they barely cover it.
Another good info on the subject is this presentation: http://www.infoq.com/presentations/Functional-Design-Patterns http://www.infoq.com/presentations/Functional-Design-Pattern...