• @dank953
    link
    620 days ago

    a sharp symbol is ++ stacked on top of ++ So C ++ ++ becomes C#

    Phonetically, It is C sharp because it sounds cooler than C hash or C pound.

    • @Hawke
      link
      1520 days ago

      Also because in music, C# is a half-note higher than C.

    • @[email protected]
      link
      fedilink
      320 days ago

      Rad. Thanks! What do the pluses denote in a programming language? What’s the difference between c+, c++ and c sharp?

      • @[email protected]
        link
        fedilink
        1620 days ago

        ++ is the increment operator in C, which increases a value by 1. C++ was intended to be an improvement on C, and so it’s saying that C++ is C incremented. C# is C++ ++ or C++ incremented. It’s just a bunch of programmer jokes. There isn’t a C+ afaik.

      • @[email protected]
        link
        fedilink
        820 days ago

        There is no c+. The reason is that ++ means “increment by 1” in c itself (and many other languages).

    • @hawgietonight
      cake
      link
      120 days ago

      It’s funny that in spanish only the “c” is translated.

      We say “ce sharp