• Varyk@sh.itjust.works
      link
      fedilink
      arrow-up
      10
      ·
      5 months ago

      Do you know why sharp is added to the end of programming languages? Like c sharp and f sharp?

      Actually, I don’t even know if it is pronounced c sharp or f sharp. I just assumed it was the same as music.

      • starman@programming.devOP
        link
        fedilink
        English
        arrow-up
        33
        ·
        5 months ago

        Do you know why sharp is added to the end of programming languages? Like c sharp and f sharp?

        There was (and still is) a language called C. Then C++ was invented. And then C#, maybe because # looks kinda like 4 pluses.

        There is also another programming paradigm, called functional programming. F# is a functional programming language and runs on the same platform as C# (that platform is called .NET). That’s why they named it F#.

        Actually, I don’t even know if it is pronounced c sharp or f sharp. I just assumed it was the same as music.

        Yes, it’s pronounced see sharp.

      • dank953@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        1
        ·
        5 months 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.