MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/v0fai0/fixed_that_certain_meme_about_python/ibnqae3/?context=3
r/ProgrammerAnimemes • u/Livin-Just-For-Memes • May 29 '22
59 comments sorted by
View all comments
Show parent comment
2
Man that's exactly why I also love Elixir.
1..11 |> Enum.sum |> IO.puts
Putting these operations into a readable order makes it so much nicer to read.
BTW, |> (pipe) literally just takes the return value of an expression and uses it as the first argument to the next function in the pipe
View all comments
Show parent comment
2
u/FierceDeity_ Jun 08 '22
Man that's exactly why I also love Elixir.
1..11 |> Enum.sum |> IO.putsPutting these operations into a readable order makes it so much nicer to read.
BTW, |> (pipe) literally just takes the return value of an expression and uses it as the first argument to the next function in the pipe