logoalt Hacker News

manoDevtoday at 1:22 AM1 replyview on HN

> Programming language syntax scarcely matters.

Clojure brings more than syntax though... there's an opinionated take on making all data structures immutable (as in, structural sharing [1]) by default. That's a huge difference in how you architect the program and debug it.

[1] https://softwarepatternslexicon.com/clojure/core-concepts-of...


Replies

pdimitartoday at 2:15 PM

I do love immutability. If a language does not have it I am very weary of using it. I only made exception of Rust because of how good is it for so many things + you can design with immutability first and only use mutability when you truly have no other choice and/or just want more performance and are willing to shoulder the extra effort of verification (potentially fuzzy testing even).