DEV Community 👩‍💻👨‍💻

Discussion on: Immutable Vars and Clojure

Collapse
 
jgomo3 profile image
Jesús Gómez

I thought "var" in Clojure was just a shorthand for the word "variable" as "def" is for "definition".

Collapse
 
quoll profile image
Paula Gearon Author

It kinda is... except that they don't vary 🙂

Yes, I know about alter-var-root. But this is more a case of Clojure trying to be extremely flexible for the rare case where it may be useful, rather than providing a feature that should be used regularly.