News for hackers. Stuff that matters.
Re:V8 Release v9.4 by Waterluvian on Monday September 06, 2021 @04:36PM (#28437792)
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.

Re:V8 Release v9.4 by Scarbutt on Monday September 06, 2021 @07:11PM (#28439120)
I’ve found incredible success using JS (TS) as a functional language. Oh my god I love it.

Immutability is still very tedious and kludgy.

Re:V8 Release v9.4 by Waterluvian on Monday September 06, 2021 @07:50PM (#28439368)
Oh yes. I do use Immer for this but I’d kill for first class support.