News for hackers. Stuff that matters.
Re:Elixir Is Erlang, not Ruby by vinceguidry on Monday September 07, 2020 @11:21AM (#24400009)
Not to take away from the sheer amaze-balls power that lisp offers, you can get Ruby superpowers just from one book, Metaprogramming Ruby 2, which is sadly out of print.

Here's a 2005 article comparing Ruby favorably to Lisp: http://www.randomhacks.net/2005/12/03/why-ruby-is-an-accepta...

I learned Lisp, went through the whole of HtDP, tried to get into it, but Ruby's friendliness is really special and unique.

Re:Elixir Is Erlang, not Ruby by fouc on Friday September 11, 2020 @03:55AM (#24440158)

    [1,2,3].map {|n| n*n }.reject {|n| n%3==1 }

    [1,2,3] |> Enum.map(&(&1*&1)) |> Enum.reject(&(rem(&1,3)==1))
Still somewhat familiar heh