• Auk@kbin.social
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    9 months ago

    except there is no ‘#’ operator in C or C++, so any interesting self-referential pattern breaks down here

    # is two layers of ++, so the pattern is there. Whether that was originally intended or coincidence is another matter, but it works well enough that I suspect it was considered when picking names.

    • Yaztromo@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      That feels like a significant reach — and every online reference I was able to find only talks about using ‘#’ in the musical notation sense, hence why the name of the language is pronounced “C-sharp”.