News for hackers. Stuff that matters.
Re:An Intuition for Lisp Syntax by capableweb on Monday October 26, 2020 @09:41AM (#24896032)
> Clojure professionally for a while, and that disappeared. Now I haven't written Lisp in probably 7 years, but I still have no problem reading it.

Slightly off-topic but interesting none-the-less. After starting to program with Clojure both as an hobby and professionally, how do you go back something that is not lisp/repl driven?

I've tried time and time again to go back to JavaScript, as I used to be OK with it, but I just cannot justify the hassles I have to fight with everyday, compared to if my co-workers just picked up Clojure instead.

Re:An Intuition for Lisp Syntax by wtetzner on Monday October 26, 2020 @10:57AM (#24896820)
Going back to something that's not REPL-driven takes some adjustment, but I try to find and focus on the advantages the other language has, instead of on what it's missing. For example, when using OCaml (which incidentally does have a REPL, but I don't use it often), I get a lot of value from the type system and the module system.

Even Java has advantages in terms of tooling, and from Java 8 on, you can write code using some Clojurish idioms with streams. Though for immutable data, you need something like Lombok + pcollections.

JavaScript, on the other hand, really doesn't offer anything over Clojure, so I can see why you'd struggle going back to it. It's just a downgrade.

Re:An Intuition for Lisp Syntax by lukashrb on Monday October 26, 2020 @12:08PM (#24897677)
You can get some of the interactivity through unit tests. Admittedly, the feedback loop is not always that tight as with the repl.