Re:Elixir protocols vs. Clojure multimethods
by dgb23 on Saturday July 17, 2021 @12:02PM
(#27866710)
Elixir seems to be very approachable. But some of the strengths of Clojure are unmatched, such as Java/JS interop, isomorphic code for web development, and generally being a Lisp (which includes macros).
[ Parent
| on HN ]
Re:Elixir protocols vs. Clojure multimethods
by Zababa on Saturday July 17, 2021 @03:08PM
(#27868016)
Elixir has macros. People are currently building Nx https://github.com/elixir-nx/nx while not having to change anything in the language. Java/JS interop being unmatched is true, but Elixir has Erlang interop too.
Re:Elixir protocols vs. Clojure multimethods
by rainygold on Saturday July 17, 2021 @12:10PM
(#27866765)
LiveView sorta tackles the isomorphic web development side, and while I agree that Lisp is a better syntax you do have hygienic macros in Elixir as well.
Re:Elixir protocols vs. Clojure multimethods
by nesarkvechnep on Saturday July 17, 2021 @12:16PM
(#27866806)
Elixir has Erlang interop. Erlang is a 30 year old language.
Re:Elixir protocols vs. Clojure multimethods
by adamkittelson on Saturday July 17, 2021 @12:58PM
(#27867106)
Yes and no. Yeah Erlang has been around for 30 years but "30 year old language" makes it sound like it came out 30 years ago and then stopped. Erlang is still being very actively developed and improved, it's by no means a crusty old language.