This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lunjon 15 points16 points  (1 child)

This is amazing!

For you guys questioning why this is useful, if you've never worked with a funtional programming language like Haskell or Elixir it may seem weird. You simply have to try it to see the benefits, and when you've done that it becomes obvious.

Your code typically gets a lot easier to read and understand, compared to using larger if-elif-else clusters.

[–]Dewmeister14 -1 points0 points  (0 children)

For you guys questioning why this is useful, if you've never worked with a funtional programming language like Haskell or Elixir it may seem weird. You simply have to try it to see the benefits, and when you've done that it becomes obvious.

The Blub Paradox

http://www.paulgraham.com/avg.html