this post was submitted on 21 Oct 2024
137 points (94.8% liked)

Programming Humor

2612 readers
11 users here now

Related Communities [email protected] [email protected] [email protected] [email protected]

Other Programming Communities [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 2 weeks ago

Kotlin is the better Java. C# is just Microsoft Java, it fixed some of Java's mistakes, made a few new ones, but ultimately it's just Java for .Net. I'd say the one decision C# made that really does make it better than Java (and puts it on par with Kotlin) is making variables non-nullable by default. Implicitly nullable variables is the single dumbest decision in Java. Fix that decision and Java instantly becomes so much better.