|
|
|
|
|
by jeremyjh
1803 days ago
|
|
> Elixir felt like a functional language un-necessarily trying to look like a class based language. Not really. Named functions live in modules because that is how it is done in Erlang; Elixir is compiled to Erlang's abstract syntax. In practice does anyone define Clojure functions outside of a namespace? Haskell functions are always defined in modules too, do you think they got that from class based languages? |
|
Clojure REPLS allow switching the namespace, and anything you define goes intoo the current namespace. So it is more ergonomic.