News for hackers. Stuff that matters.
Re:Why Clojure? (2018) by non-e-moose on Sunday January 03, 2021 @03:08PM (#25624774)
I'm not sure I see the benefits here unless you are buying completely in to: Emacs, and Java and ignoring performance/overhead. Closure is implemented in Java; and the only apparent way to write it is via Emacs. The zero-eth issue I see: functional programming espouses absolutely no side effects, meaning no capability of handling network of physical I/O errors The implementation being in Java means that it is not possible to use it in embedded environments (which might not be a problem for some users) but it does mean that performance is JVM limited. Personally, I find the requirement of Emacs to be QUITE odious. In my opinion, Emacs is an OS/environment and not an editor. I'll use it if I want to edit a binary, but when an editor includes a psychotherapist mode (Eliza) it is not suitable for software development. I have also seen some quite talented researchers/engineers spend multiple seconds trying to remember the sequence to do X in Emacs, when it would have taken FAR less time in vi or vim. Too many parentheses make the code UNMAINTAINABLE in a production environment.
Re:Why Clojure? (2018) by pinchhit on Sunday January 03, 2021 @07:15PM (#25626606)
A couple of things here:

- Intellij IDEA with the Cursive extension is very popular outside of emacs (I've met more clojure developers who use IDEs than those who don't.)

- Clojure uses the error handling mechanisms of the target runtime. You have try/catch statements and side effects are often used. It's not a no-side-effect language.

- Parentheses are almost always managed with parinfer/paredit and python-style indentation rules in production code I've seen.

You're quite right that performance will be tied to the JVM or V8/SpiderMonkey/etc.

Re:Why Clojure? (2018) by newtwilly on Sunday January 03, 2021 @03:23PM (#25624881)
There are other IDEs people like besides emacs.