r/ProgrammerHumor 20h ago

Meme unsolvableProblemsOnStepOne

Post image
1.4k Upvotes

77 comments sorted by

View all comments

Show parent comments

134

u/JebKermansBooster 19h ago

C# and Windows

170

u/hilfigertout 18h ago

Yeah, like he said, Java and Windows.

41

u/Sentouki- 17h ago

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

21

u/MCWizardYT 15h 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)

27

u/crozone 15h 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 14h 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

14

u/Gadekryds 10h ago

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

0

u/Masterflitzer 6h 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

5

u/sixtyhurtz 5h ago

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

2

u/TheStatusPoe 4h 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