DEV Community

Discussion on: Data-Oriented programming: Liberate yourself from objects

Collapse
 
viebel profile image
Yehonathan Sharvit

Why Elixir and not Clojure?

Collapse
 
peerreynders profile image
peerreynders

Clojure works great when you need to integrate with legacy enterprise systems.

But if you need a scalable, fault-tolerant (i.e. resilient) and highly concurrent platform with a functional language that includes primitives to support those objectives on the language-level then Erlang/Elixir is a better fit.

And frankly there is always Jinterface

The Erlang Rationale

Thread Thread
 
marciol profile image
Marcio Lopes de Faria

Hi @peerreynders , it'd be nice if Idiomatic Elixir makes use of more Maps and Lists and less use of data encapsulation on Structs so that we can exchange maps and lists freely and make the quote "100 functions over one data structures" more present in Elixir than "10 functions over 10 data structures" that it's what happens with the overuse of Structs.