3 ms·
I’m perfectly happy for a language to have feature coverage for others to do what they like. I’ve found incredible success using JS (TS) as a functional langua
by Waterluvian 5y ago
I’m perfectly happy for a language to have feature coverage for others to do what they like.
I’ve found incredible success using JS (TS) as a functional language. Oh my god I love it. It’s so easy to test. So easy to reason about. So predictable.
State is my enemy. Optimization can be hidden away in the form of memoization rather than partially mutating object state.
Does this work for all use cases? Nope. Classes are fine. They sure beat the five or so fake ways to do classes before ES6.
I’ll settle down now.
- Scarbutt 5y agoI’ve found incredible success using JS (TS) as a functional language. Oh my god I love it. Immutability is still very tedious and kludgy.
- Waterluvian 5y agoOh yes. I do use Immer for this but I’d kill for first class support.