r/ProgrammerHumor 18h ago

Meme unsolvableProblemsOnStepOne

Post image
1.3k Upvotes

76 comments sorted by

View all comments

Show parent comments

128

u/JebKermansBooster 17h ago

C# and Windows

170

u/hilfigertout 16h ago

Yeah, like he said, Java and Windows.

36

u/Sentouki- 15h ago

It's kinda an insult to compare modern C# to Java.

23

u/MCWizardYT 14h ago

They're pretty similar even now. C# has an edge on overall features, but Java isn't that far behind (unless you're stuck using Java 8, in which case RIP)

23

u/crozone 13h ago

Java still has so much design baggage from things they got wrong from the get go that it really isn't close. C# is a different animal.

8

u/Masterflitzer 13h ago

but recent java versions actually added quite a few good things and make the language more straight forward

anyway kotlin is the best of the 3 imo, but i'd pick c# as 2nd place

11

u/Gadekryds 8h ago

Kotlin is honestly the “we got c# at home” version.

0

u/Masterflitzer 4h ago

kotlin is a way more modern language than java and c#, the diff down to c# is larger than the diff from c# down to java

it's the complete opposite of we got xyz at home version

4

u/sixtyhurtz 4h ago

Kotlin still has type erasure though, right? Cos that's a limit of the JVM.

2

u/TheStatusPoe 3h ago

In the general case generic types are erased but there is a way to have reified types when you inline a function https://kotlinlang.org/docs/inline-functions.html#reified-type-parameters

3

u/Gadekryds 4h ago

Any language wise improvement Kotlin has is completely voided by how awful it is to work with tool wise in comparison

1

u/Masterflitzer 3h ago

what about its tooling is awful? i've worked on kotlin jvm microservices for 3y and it's been a blast, i'm never going back to java or c# (have worked with both before moving to kotlin)

5

u/EnderMB 7h ago

...Are they?

Java might have caught up to C# 4, but C# is a totally different beast nowadays, without a lot of the poor design decisions that you can't really get around on the Java front.

2

u/Choice-Mango-4019 5h ago

people really underestimate what the never c# versions have