4 ms·
It's not important for students, I just dispute the notion that JavaScript has any special affinity with Scheme beyond that of any other language with first-cla
by mrbrowning 12y ago
It's not important for students, I just dispute the notion that JavaScript has any special affinity with Scheme beyond that of any other language with first-class functions. Anyway, the major advantage of immutability by default is that it enables under-the-hood optimizations like structural sharing that make FP the paradigm of least resistance. To the extent that JavaScript doesn't do that, it doesn't really deserve to be called a functional language any more than e.g. Ruby.