• bitcrafter@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    3 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…