Echo JS 0.11.0

<~>
nagyadam2092 1661 days ago. link 3 points
In general I like simplifications wherever are possible, but using these immutability helper libraries were always a bit hard to swallow for me. I get that e.g. in the example we can save a few lines of code (and I get that this can be a lot if the project is huge), but we also loose the immutable feeling of the code, and would argue that it can misguide the reader of the code.
Also JavaScript's syntax has evolved so much, I almost never have the feeling that I'd need to use a library to enforce immutability.

Replies

tracker1 1660 days ago. link 2 points
Mostly agree... I'd probably be more inclined to switch to typescript before adding an immutable library at this point.  And I'm not really doing ts in the app code.