this post was submitted on 16 Jun 2023
189 points (99.0% liked)

Memes

45329 readers
2778 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SpookySnek@sh.itjust.works 1 points 1 year ago (1 children)

Which is java and which is C# lmao

[–] firelizzard@programming.dev 1 points 1 year ago* (last edited 1 year ago) (1 children)

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."

[–] PixxlMan@lemmy.world 1 points 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.