3 ms·
Author here: I agree that another dynamic language with all of those attributes would be great.
by bslatkin 4y ago
Author here: I agree that another dynamic language with all of those attributes would be great.
- throwawaymaths 4y agoElixir. Lets you do stateful declarative stuff (talking to databases, communication, disk) with no fuss. No mutability, single line lambdas, fast function calls. Plus, rediculously easy concurrency, customizable failure domains, first class concurrent testing...
- eru 4y agoMight as well use Erlang?
- bongobingo1 4y agoNo? The syntax and standard library is vastly different in terms of ergonomics. You could argue whether its better but it's undeniably more familiar to non-erlangers. (Alternatively, you already are using Erlang anyway.)
- pjmlp 4y agoOr former Prolog users.
- eru 4y agoWell, Erlang has slightly nicer syntax, IMHO. I would have assumed you can use the same library functions? (Sorry, I mostly only used Erlang and only briefly looked into Elixir and didn't find anything useful compared to just plain Erlang.)
- throwawaymaths 4y ago"didnt find anything useful" Better documentation, better package management, testing framework, consistent function calls, opinionated standards on how to name things (get vs fetch, ! suffix for crashables, is vs ?, size vs length), Protocols, not having lexical macros, not needing make, Testing Framework, compile environments (test, dev, prod), $callers, custom guards, Task, Registry, DynamicSupervisor, IO.inspect (now dbg), mix tasks, TESTING FRAMEWORK...
- substation13 4y agoCould Google adopt such a language? They were early on Python, which was great! Perhaps they could "bless" Clojure - or more likely build their own.