minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
starman@programming.dev to > Greentext@lemmy.mlEnglish · 1 year ago

Anon discovers .NET

programming.dev

message-square
83
fedilink
232

Anon discovers .NET

programming.dev

starman@programming.dev to > Greentext@lemmy.mlEnglish · 1 year ago
message-square
83
fedilink
  • dank953@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year 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@lemmy.world
      cake
      link
      fedilink
      arrow-up
      15
      ·
      1 year ago

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

    • Varyk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

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

      • lili_thana@lemmy.blahaj.zone
        cake
        link
        fedilink
        arrow-up
        16
        ·
        1 year 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.

        • Varyk@sh.itjust.works
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          Oh, haha, got it. Thanks

        • mozz@mbin.grits.dev
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          “We did make C better, but what you’re getting back from us isn’t the better thing.”

          🙂

      • orivar@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        8
        ·
        1 year ago

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

        • Varyk@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Okay, thanks

    • hawgietonight@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

      We say “ce sharp”

      • FlorianSimon@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Same in French

      • cally [he/they]@pawb.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Same in Brazilian Portuguese

> Greentext@lemmy.ml

greentext@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !greentext@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 16 users / week
  • 1.05K users / month
  • 1 user / 6 months
  • 0 local subscribers
  • 7.49K subscribers
  • 461 Posts
  • 10.2K Comments
  • Modlog
  • mods:
  • MarcellusDrum@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org