News for hackers. Stuff that matters.
Re:Why I Program in Erlang by transfire on Tuesday November 01, 2022 @10:39PM (#33430843)
Kotlin : Java :: Elixir :: Erlang

Clojure : Java :: LFE : Erlang

Re:Why I Program in Erlang by macintux on Tuesday November 01, 2022 @10:46PM (#33430880)
Mayyyybe. LFE is still much closer to Erlang than Clojure is to Java.
Re:Why I Program in Erlang by Jtsummers on Tuesday November 01, 2022 @11:09PM (#33431014)
Yeah, I learned LFE a few years back after years of (sadly only) hobby Erlang programming. I don't think anything in it surprised me. It felt very much like: What if Erlang's syntax were replaced with sexprs and we used Lisp-y style macros? Clojure's relationship to Java is nowhere near the same.

Knowing Erlang + Scheme and CL, LFE like exactly what I expected, with a strong Erlang vibe. Knowing Java + Scheme and CL, Clojure felt nothing like Java except that it could access Java classes and objects.

Re:Why I Program in Erlang by macintux on Wednesday November 02, 2022 @02:25AM (#33431983)
Fundamentally the BEAM is very opinionated with a limited range of possible language designs that would work with it. No mutability, e.g.

I love the opinionated, constrained nature of Erlang and the BEAM, vs the kitchen sink approach of Java and the JVM.

Re:Why I Program in Erlang by janosett on Wednesday November 02, 2022 @02:54AM (#33432130)
Maybe Scala : Java :: Elixir : Erlang
Re:Why I Program in Erlang by anko on Wednesday November 02, 2022 @04:33AM (#33432751)
I'm not too sure - scala really has a crazy number of language features, which makes the scope of it way bigger. I'd say kotlin : Java is closer :)
Re:Why I Program in Erlang by kaba0 on Thursday November 03, 2022 @07:53AM (#33449671)
Actually, scala ain’t that big of a language, especially not compared to kotlin. Scala just prefers a bit more complex, but full feature over adding many less complex features that cover the same deal, which is more similar to Kotlin.