1 comment

sorted by: hot top controversial new old
[–] 2 points 11 months ago

The very first example on that page is:

List(1, 2, 3).map(_ + 1)
--> List(1, 2, 3)

I have a really hard time taking seriously a language that does the wrong thing when asked to add one to each element in a list...

  • source