News for hackers. Stuff that matters.
Re:Why Functional Programming Should Be the Future of Software by dottedmag on Wednesday November 02, 2022 @08:00AM (#33434325)
Immutability does not even have to be bound to functional programming. One can use persistent (= immutable from the user's perspective) data structures, like immutable.js and get most of the benefits.

Moreover, persistent data structures can be optimized well (see Clojure), so that the performance issues may be relegated to the inner loops, as usual, and the rest of the program may use safe-for-sharing data structures.

There are no comments on this comment yet.