Tapas Adhikary
Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source
Prologue Few years back as a Java programmer, I used to admire the concept of making something Immutable. What was fascinating that, once marked immutable, changing it's property, extending it really not possible. Once I switched to JavaScript, I was...
blog.greenroots.info
I like the idea of immutability and I'm glad you highlighted it.
I think one of the better things to happen to software engineering is that people got a bit more afraid of mutable state. Having immutable objects really rules out a lot of problems.
It's also one of the nice innovations in Kotlin compared to Java: 1) lists are immutable by default, and 2) trying to mutate them is a compile error, rather than runtime.
I like the statically-typed version more, but it's good to see it can be used in Javascript.
Joseph S Stevens
10 years of Software Development, Husband, Father and Functional Programming enthusiast.
Good article, I think it's really nice you are spending time trying to teach people the value of immutability. I think it is a really make it or break it concept for software developers. If your codebase is immutable, your debugging experience is lightyears better. If your codebase has tons of mutable references, it can take hours to debug something small.
Immutability is awesome, albeit counter-intuitive, but awesome.