this post was submitted on 16 Jun 2023
469 points (98.6% liked)

Memes

45158 readers
3202 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
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 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 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.

[–] [email protected] 0 points 1 year ago (1 children)

It sounds like you're thinking of C++ rather than C#, no?

[–] [email protected] 1 points 1 year ago (2 children)

I'm talking about C#'s unsafe keyword. It lets you do pointer shenanigans.

[–] [email protected] 1 points 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.

[–] [email protected] 0 points 1 year ago

Holy shit, C# copied Rust!