CommunityNews

CommunityNews

Ten years without Elixir

Ten years without Elixir.
I never got into Elixir, largely because it looked like Ruby. I was a Rubyist for a good while, spent time and effort to learn where to park my commas, semicolons, and periods in Erlang, so I never felt that Elixir was something I wanted.

http://blog.cretaria.com/posts/ten-years-without-elixir.html

This thread was posted by one of our members via one of our news source trackers.

Most Liked

mafinar

mafinar

I am not sure I understand the criticism on pipes.

AstonJ

AstonJ

Yeah… esp since pipes are one of the things people love about Elixir :smiley:

mafinar

mafinar

At first I did not like pipes as much, because it felt limited (only first argument) and I was fresh out of Clojure. Then I realized to appreciate the power of limitations. Data design in Elixir feels very natural since you have an intuitive understanding of what the first argument should be. I am fine with that, although I could create a pipe_second or pipe_third, I’d never do that because I prefer stability to extreme sports. I had struggle grokking the pipe (looks the same: |>) of F#, because it doesn’t pipe into first argument, but the final one, and for some time I couldn’t visualize function signatures in my head, but everything became clear after I embraced the curry-by-default mindset. It does not have macro that would be threading in, but they don’t need it, because f(a, b)(c) is f(a, b, c) and c |> f(a, b) is just rotating the (c).

But even then, Elixir’s is the best pipe for me.

(btw I am not saying Clojure is extreme sports, it has different philosophy and design mindset)

Popular Backend topics Top

CommunityNews
Is Zig the Long Awaited C Replacement. Comparison with previous C contenders such as C++, D, Java, C#, Go, Rust and Swift https://erik...
New
New
First poster: bot
Such inflammatory, much wow. Unfortunately, Haskell itself agrees. Some languages naturally lend themselves towards adoption. Some don’t...
New
First poster: bot
Why Zig When There is Already C++, D, and Rust? No hidden control flow No hidden allocations First-class support for no standard library...
New
Rainer
Just wrote a short post, more a memo to myself, but maybe someone find it useful :stuck_out_tongue: https://dwarfte.ch/2021/02/03/giving...
New
First poster: bot
Go is not an easy programming language. It is simple in many ways: the syntax is simple, most of the semantics are simple. But a language...
/go
New
First poster: bot
Over the last few years, due in large part to the hype surrounding blockchain and cryptocurrencies, decentralized applications have gaine...
New
brainlid
There is a new community resource available on writing “Safe Ecto Migrations”. When we get a migration wrong, it can lock up your product...
New
New
New

Other popular topics Top

PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
PragmaticBookshelf
“Finding the Boundaries” Hero’s Journey with Noel Rappin @noelrappin Even when you’re ultimately right about what the future ho...
New
Exadra37
Oh just spent so much time on this to discover now that RancherOS is in end of life but Rancher is refusing to mark the Github repo as su...
New
PragmaticBookshelf
Author Spotlight James Stanier @jstanier James Stanier, author of Effective Remote Work , discusses how to rethink the office as we e...
New
First poster: joeb
The File System Access API with Origin Private File System. WebKit supports new API that makes it possible for web apps to create, open,...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
PragmaticBookshelf
Author Spotlight: Bruce Tate @redrapids Programming languages always emerge out of need, and if that’s not always true, they’re defin...
New

Latest in Blogs/Talks

View all threads ❯