Hacker News new | ask | show | jobs
by erichocean 482 days ago
Clojure is like that, but because data structures are default immutable, and all of the standard library (and the vast majority of 3rd party libraries) are also default immutable, the stress level is much lower.

You can still get mutability and I do this on every project. But it's a very small percentage of the code, less that 1%, and also well-defined.

Something like FlowStorm [0] isn't really practical in anything but Clojure, and things like Clerk [1] are easy and very natural.

[0] https://www.flow-storm.org/ [1] https://clerk.vision/

1 comments

I know. What I just miss in other implementations is the live reflection in the SBCL REPL via Sly/Slime for example. And conditions.

When I do CL, I try to code it in a more immutable style and avoid things like self until I get my own version bootstrapped.