this post was submitted on 21 Oct 2024
137 points (94.8% liked)
Programming Humor
2814 readers
2 users here now
Related Communities !programmerhumor@lemmy.ml !programmer_humor@programming.dev !programmerhumor@kbin.social !programming_horror@programming.dev
Other Programming Communities !programming@beehaw.org !programming@programming.dev !programming@lemmy.ml !programming@kbin.social !learn_programming@programming.dev !functional_programming@programming.dev !embedded_prog@lemmy.ml
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.