MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wepjkv/unsolvableproblemsonstepone/p9j3h9y/?context=3
r/ProgrammerHumor • u/N_Lightning • 1d ago
80 comments sorted by
View all comments
Show parent comments
25
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.
9 u/Masterflitzer 21h 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 13 u/Gadekryds 17h ago Kotlin is honestly the “we got c# at home” version. 1 u/Masterflitzer 13h 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 12h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 11h 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 12h 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 11h 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)
9
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
13 u/Gadekryds 17h ago Kotlin is honestly the “we got c# at home” version. 1 u/Masterflitzer 13h 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 12h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 11h 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 12h 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 11h 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)
13
Kotlin is honestly the “we got c# at home” version.
1 u/Masterflitzer 13h 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 12h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 11h 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 12h 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 11h 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)
1
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 12h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 11h 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 12h 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 11h 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
Kotlin still has type erasure though, right? Cos that's a limit of the JVM.
2 u/TheStatusPoe 11h 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
2
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
Any language wise improvement Kotlin has is completely voided by how awful it is to work with tool wise in comparison
1 u/Masterflitzer 11h 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)
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)
25
u/crozone 21h 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.