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)

Where Next?

Popular Backend topics Top

AstonJ
This article was written by @rvirding …over a decade ago! Posting here in case anyone else finds it of interest and adding it to our Erla...
New
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
First poster: wolf4earth
Understanding Partial Moves in Rust. Partial moves are an interesting but often misunderstood feature of Rust. However, with the right ...
New
paulanthonywilson
Post on using UDP multicasting with Elixir to broadcast presence, and listen for peers, on a local network. I have found this approach us...
New
First poster: brennan
The perspective of an ignorant computer science undergrad It’s likely that you read the title of this post and thought “what is this guy ...
New
First poster: bot
I discovered Elixir and Go at about the same time (2019). I had pivoted almost eight years of working as a Java developer, and part of me...
New
First poster: bot
I wrote Python for the last 10 years, and I always tend to write code in a “functional” way - map, filter, lambda and so on, it makes me ...
New
elbrujohalcon
Another week, another oldies-but-goldies post… This one about Test Driven Development.
New
First poster: AstonJ
Ruby’s Struct is one of several powerful core classes which is often overlooked and under utilized compared to the more popular Hash clas...
New
mtmattei
For the past few years, Safari has been putting in a lot of effort to enhance its WebAssembly support and 2024 was no exception… I believ...
New

Other popular topics Top

AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
PragmaticBookshelf
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
PragmaticBookshelf
Author Spotlight: VM Brasseur @vmbrasseur We have a treat for you today! We turn the spotlight onto Open Source as we sit down with V...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New