mmport80

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

peerreynders

Also mix:

It is heavily inspired by the Leiningen build tool for Clojure and is written by one of its contributors.

Qqwy

Qqwy

TypeCheck Core Team

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 :smile: (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

mmport80

Wow I didn’t realise that! Nice that they gave props to Leiningen like that

Where Next?

Popular in Discussions Top

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
wmnnd
The Go vs Elixir thread got me thinking: Would it be too hard to implement a simple mechanism for creating Go-style static app binaries f...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
thojanssens1
It would be nice to be able to define a redirect from one route to another from the router.ex file. E.g.: redirect "/", UserController, ...
New
cvkmohan
The upcoming Phoenix 1.6 release looks very interesting. Became a habit to watch the commits - and - what they are bringing in. phx.gen...
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 44167 214
New

We're in Beta

About us Mission Statement