3 ms·
> Call, Apply, and Bind help keep our code clean. In my experience, the exact opposite is true. Modern JS is much cleaner with arrow functions and classes. If
by anonytrary 5y ago
> Call, Apply, and Bind help keep our code clean.
In my experience, the exact opposite is true. Modern JS is much cleaner with arrow functions and classes. If I see things like apply/call/bind now, I immediately think it's a smell left over from the ES5 days. I think there are still use-cases in library code, but I pretty much never want to see that in application code.
- deleted 5y ago[deleted]
- deleted 5y ago[deleted]