When comparing DASH vs Elixir, the Slant community recommends Elixir for most people. In the question“What is the best programming language to learn first?”Elixir is ranked 8th while DASH is ranked 49th. The most important reason people chose Elixir is:

Elixir's documentation is very good. It covers everything and always helps solving any problem you may have. It's also always available from the terminal.

Pro

Full access to Erlang functions

Pro

Scalability

Elixir programming is ideal for applications that have many users or are actively growing their audience. Elixir can easily cope with much traffic without extra costs for additional servers.More details can be found here.

Ad

Cons

Con

Doesn't support all bash features

Dash does not support all bash features, sometimes called 'bashisms' unless explicitly pointed at /bin/sh.

Con

Some design choices may seem strange

Some design choices could have been a little more appealing, for example: using "do...end" comes natural in Ruby for blocks but Elixir uses them for everything and it looks pretty weird: Enum.map [1, 2, 3], fn(x) -> x * 2 end

or

receive do
{:hello, msg} -> msg
{:world, msg} -> "won't match"
end

Alternative Products

Each month, over 2.8 million people use Slant to find the best products and share their knowledge. Pick the tags you’re passionate about to get a personalized feed and begin contributing your knowledge.