• Ethan
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Java is the top, C# is the bottom. The Java language designers consider unsigned integers harmful (and this). They’re basically saying “You could hurt yourself with this so we’re taking it away.” I find that patronizing and disrespectful. On the other hand C# and Go tell you, “Yo bro, doing pointer math and direct memory manipulation is not safe, but I’m not gonna stop you.”

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

          I must admit, I’ve been a C# developer for a few years now and I don’t think I’ve every messed around with “unsafe” or even seen it used lol, now I really wanna try it.

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

      I love that about C#. It’s safe and managed, but if you need the unsafe features for performance etc, then they’re available. It’s the best if both worlds, imo.