3 ms·
> With first class function, you hardly need class polymorphism. Just pass the function as argument already, don't bother with writing a whole new class just to
by nessus42 14y ago
> With first class function, you hardly need class polymorphism. Just pass the function as argument already, don't bother with writing a whole new class just to override one method.
Here, here! After returning to functional programming after a 30 year hiatus, I am beginning to realize just how detrimental the OO orthodoxy has been, and just how impoverished the world has been without first class functions. If only Scheme had caught on in the mainstream when it was invented, the programming world would be a much happier and safer place.
- lutusp 14y ago> Here, here! Where, where? ITYM "Hear! Hear!" http://en.wikipedia.org/wiki/Hear,_hear http://en.wikipedia.org/wiki/Hear,_hear "Hear, hear is an expression used as a short, repeated form of hear him, hear him. It represents a listener's agreement with the point being made by a speaker."