3 ms·
> I need it. Need is a strong word.
by zeckalpha 11y ago
> I need it.
Need is a strong word.
- callahad 11y agoIn this case, "need" refers to the "if (x === undefined) { x = y }" pattern. Which is absolutely a need when implementing functions with variable arity. If I need that pattern, I'd rather write it declaratively than imperatively. :)
- zeckalpha 11y agoVariable arity is exactly the thing to which I refer. It isn't needed.