News for hackers. Stuff that matters.
Re:A Tour of Lisps by whateveracct on Monday February 05, 2024 @09:39AM (#39261659)
If you program purely and represent "state" as a function

    s -> (a,s)
Then the JVM bites you the moment you naively abstract over that. You end up having to manually "compile" stuff like traversing a list with a stateful update. For example, Scala's pure FP ecosystem is full of specialized functions for state due to this.

There are no comments on this comment yet.