‹ BackHN Continuity

Thread

Why isn't mutable a subtype of immutable, or vice versa?

28 points · 56 comments · ibobev

  1. Sharlin · · focus · HN ↗
    As a total aside, the names `car` and `cdr` for "head" and "tail" are honestly some of the most baffling historical relics in all of computing.
    1. MiroslavPokorny · · focus · HN ↗
      What i dont understand is why does everything have to be so brief. Take car and cdr there is only one character difference, more character differences is a good thing not bad.
      1. drysine · · focus · HN ↗
        >What i dont understand is why does everything have to be so brief.

        Look at the words in the Swadesh list[0]. They are all short.

        [0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Swadesh_list" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Swadesh_list

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.