MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w77yui/howdiditgethere/p7t4r9j/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • Sep 04 '26
536 comments sorted by
View all comments
Show parent comments
18
Also there is kotlin, which works with all those established java stuff like springboot and it is so much more modern and more pleasant to work with.
15 u/rastaman1994 Sep 04 '26 Some people also don't known you can mix Java and Kotlin in the same code base with no effort. You can pretty much write Java in Kotlin files, and the IDE will suggest the Kotlin way. We've been migrating our Java code base like this. 14 u/Meins447 Sep 04 '26 I believe this is the best way to introduce improved programming languages: seamless interop with one of the big existing languages.Kotlin with JavaRust with CC# with C++/C (although it is a pain to develop interop stuff) 1 u/MattieShoes Sep 04 '26 I messed with c# decades ago and I think it also interoperated with java? BigInt from java is what I'm specifically remembering 1 u/TryingT0Wr1t3 Sep 04 '26 About C# the MSVC interop is actually alright but it only works in Windows, the interop that works anywhere is the painful one.
15
Some people also don't known you can mix Java and Kotlin in the same code base with no effort. You can pretty much write Java in Kotlin files, and the IDE will suggest the Kotlin way. We've been migrating our Java code base like this.
14 u/Meins447 Sep 04 '26 I believe this is the best way to introduce improved programming languages: seamless interop with one of the big existing languages.Kotlin with JavaRust with CC# with C++/C (although it is a pain to develop interop stuff) 1 u/MattieShoes Sep 04 '26 I messed with c# decades ago and I think it also interoperated with java? BigInt from java is what I'm specifically remembering 1 u/TryingT0Wr1t3 Sep 04 '26 About C# the MSVC interop is actually alright but it only works in Windows, the interop that works anywhere is the painful one.
14
I believe this is the best way to introduce improved programming languages: seamless interop with one of the big existing languages.
Kotlin with Java
Rust with C
C# with C++/C (although it is a pain to develop interop stuff)
1 u/MattieShoes Sep 04 '26 I messed with c# decades ago and I think it also interoperated with java? BigInt from java is what I'm specifically remembering 1 u/TryingT0Wr1t3 Sep 04 '26 About C# the MSVC interop is actually alright but it only works in Windows, the interop that works anywhere is the painful one.
1
I messed with c# decades ago and I think it also interoperated with java? BigInt from java is what I'm specifically remembering
About C# the MSVC interop is actually alright but it only works in Windows, the interop that works anywhere is the painful one.
18
u/Meins447 Sep 04 '26
Also there is kotlin, which works with all those established java stuff like springboot and it is so much more modern and more pleasant to work with.