Uninsane
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
starman@programming.dev to > Greentext@lemmy.mlEnglish · 2 years ago

Anon discovers .NET

programming.dev

message-square
83
link
fedilink
236

Anon discovers .NET

programming.dev

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

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

    • Varyk@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      2 years 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
        link
        fedilink
        arrow-up
        16
        ·
        2 years 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
          ·
          2 years ago

          Oh, haha, got it. Thanks

        • mozz@mbin.grits.dev
          link
          fedilink
          arrow-up
          1
          ·
          2 years 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
        ·
        2 years 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
          ·
          2 years ago

          Okay, thanks

    • hawgietonight@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years 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
        ·
        2 years ago

        Same in French

      • cally [he/they]@pawb.social
        link
        fedilink
        arrow-up
        1
        ·
        2 years 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.

  • 2 users / day
  • 149 users / week
  • 238 users / month
  • 794 users / 6 months
  • 1 local subscriber
  • 8.32K subscribers
  • 462 Posts
  • 9.63K Comments
  • Modlog
  • mods:
  • MarcellusDrum@lemmy.ml
  • UI: unknown version
  • BE: 0.19.17
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org