Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: