3 ms·
To play Devil's advocate, function composition can accomplish literally anything that's conputable, and principle of least power would suggest that having speci
by acjohnson55 10y ago
To play Devil's advocate, function composition can accomplish literally anything that's conputable, and principle of least power would suggest that having specific and limited syntax for common patterns is productive.
If Javascript continues to admit statement-based syntax, I think decorators are appropriate, because they allow the functional decorator pattern to be applied to function (and method, and class) declarations.