Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

1 reply

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...

2

You reached the end