3 ms·
> Kotlin is not a valid Java But you can easily have both of them in the same project (e.g. when slowly moving to kotlin) and have them interop.
by Traubenfuchs 1y ago
> Kotlin is not a valid Java
But you can easily have both of them in the same project (e.g. when slowly moving to kotlin) and have them interop.
- mi_lk 1y agoThat applies to all JVM languages no?
- Traubenfuchs 1y agoJava devs at large are generally not excited about writing Scala.
- boobsbr 1y agoThere are dozens of us! Dozens!
- vips7L 1y agoI like where Scala 3 is headed (finally). Martin seems to realize that the simpler "direct" programming model is better and that will make the language more attractive to regular people who aren't FP purists. Though it does feel like it might be too little too late.
- nunobrito 1y agoDoesn't really bring benefit. With Java you are more quickly useful in C++ and can write server apps without fuss. Very little benefit in using a different language when Java literally does the same and is used everywhere else.
- wiseowise 1y agoIt doesn’t make it valid Java. You can paste JS verbatim to TS file and it will work.
- latexr 1y agoYou can also easily have Objective-C, C, and C++ in the same Swift project and have them interop. That’s a feature of Swift. But adding their numbers together wouldn’t make sense.