this post was submitted on 13 Nov 2024
843 points (96.1% liked)

Greentext

4591 readers
968 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] KoalaUnknown@lemmy.world 58 points 1 month ago (39 children)

Am I weird for liking Java? I feel like it just makes so much more sense than other languages.

[–] Serinus@lemmy.world 51 points 1 month ago (19 children)

C# is nearly the same, but much, much better.

  • It doesn't (usually) come with the Java culture 8 layers of abstraction. This isn't in the Java language. This isn't in OO. Yet nearly every Java programmer makes things way more complicated than it needs to be.
  • It's a prettier language. Similar syntax with less bullshit.
  • It's open source
  • It's still multiplatform. Modern dotnet / C# works on anything.
  • Both Visual Studio and Visual Studio code are great IDEs that blow Eclipse out of the water
  • It's one of the most common business languages.
  • It's going to be supported forever.

If I could restrict the world of programming to two languages, it'd be C# and Rust. C# for most things and Rust for a lower level language.

[–] PlusMinus@lemmy.world 9 points 1 month ago (11 children)

Nah, C# suffers from a lot of the same shit Java does. Needing everything to be a class is just no longer a good design choice (if it ever was). AOT support is still lacking. I don't get, why it does not have typdefs. I think the solution / project structure is unnecessary and I could probably think of more stuff I dislike about C#. But imho, it still beats Java.

Golang is my choice over C# any time. I strongly prefer how interfaces are handled and I actually like the error handling.

[–] fadingembers@lemmy.blahaj.zone 1 points 1 month ago (1 children)

Is there anything I can read about how we're moving away from everything being a class?

[–] PlusMinus@lemmy.world 2 points 1 month ago

No sorry, but try literally any other language ;-)

load more comments (9 replies)
load more comments (16 replies)
load more comments (35 replies)