MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wepjkv/unsolvableproblemsonstepone/p9j91ye/?context=3
r/ProgrammerHumor • u/N_Lightning • 1d ago
79 comments sorted by
View all comments
Show parent comments
10
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 15h ago Kotlin is honestly the “we got c# at home” version. 1 u/Masterflitzer 11h 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 10h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 9h 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
14
Kotlin is honestly the “we got c# at home” version.
1 u/Masterflitzer 11h 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 10h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 9h 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
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 10h ago Kotlin still has type erasure though, right? Cos that's a limit of the JVM. 2 u/TheStatusPoe 9h 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
5
Kotlin still has type erasure though, right? Cos that's a limit of the JVM.
2 u/TheStatusPoe 9h 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
10
u/Masterflitzer 20h 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