Re:Workers who love 'synergizing paradigms' might be bad at ...
by irishcoffee on Friday March 06, 2026 @10:52AM
(#47276526)
Pardon my ignorance, isn't that a lambda in c++?
Re:Workers who love 'synergizing paradigms' might be bad at ...
by ndriscoll on Friday March 06, 2026 @11:16AM
(#47276899)
Yes, and in Java and other languages (e.g. in Lean you can literally use the syntax λ x ↦ x + 5). When OOP was more of the zeitgeist, these languages didn't have lambda functions.
Once you get used to doing this, you realize it's useful everywhere.
In a decent language with functional programming and generics support a lot of GoF patterns can be directly encoded as a simple type signature where you receive, return, or both some function, so there's not really much else to say about them. Like half of the behavioral patterns become variations of the interpreter pattern.