4 ms·
Agree. It makes writing functional code (and functional-style code) much better looking. Careful though: Libraries like jQuery and D3 can and/or do rebind `thi
by jschrf 12y ago
Agree. It makes writing functional code (and functional-style code) much better looking.
Careful though: Libraries like jQuery and D3 can and/or do rebind `this` and that can be a gotcha in both TypeScript and straight ES6. You can end up having to mix both declaration styles, which is gross.