3 ms·
Well, by definition it's more readable, since nobody is familiar with the new notation yet. But objectively it has problems: unnecessary def and lambda keywords
by mdemare 19y ago
Well, by definition it's more readable, since nobody is familiar with the new notation yet. But objectively it has problems: unnecessary def and lambda keywords, using () and || for argument lists, using def .. end and {} for scopes. There's room for improvement.
Personally, I like many things from Haskell's syntax. I wish I could say this in Ruby:
foo = n -> x -> n += x