mmport80
Learning from Clojure?
I have read one book about Clojure and enjoyed it.
Is there anyone here familiar enough with Clojure that could suggest a bunch of things which Elixir devs could profitably pinch?
I think Clojure & Elixir are estranged half brothers - suspect there’s a lot of nice ideas which have been learnt there over the years.
Most Liked
peerreynders
Qqwy
Some features of Elixir are greatly influenced by Clojure ideas, such as how Protocols work, and while Elixir is not homoiconic, its macro system definitely was influenced by the Lisps out there as well.
What I would really like, is to be able to use something akin to multimethods in Elixir. Also, Clojure allows for unrestricted operator overloading, which is something that I personally find lacking in Elixir, but that is something most other Elixir developers disagree with
(there is a very limited set of ‘allowed’ unbound operators that you could use for something, but even then using or overriding them is frowned upon by many people because of the expectation of newcomers that all operators also work in guard clauses).
Last Post!
mmport80
Popular in Discussions
Other popular topics
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










