I think Kotlin will rise in the next years, as Python today. But today Java is very important. I program in android and in many courses, its instructors says that learn Java first.
Perhaps I will love it more after I take some time to learn what it offers and practice with it. The Android benefits don't really impact me as I'd be using the NDK.
I prefer Kotlin (heck, I even wrote a web framework in it: alpas.dev).
Kotlin is more expressive and is more modern. Java is now trying to catch up, which is good for everyone.
At first I wasn't sure about Kotlin having full interoperability with Java. I thought that would make the language more rigid and may not be able to get away from some limitations (like type-erasure generics). But after writing a full web framework, I've realized that it was a brilliant move as it allowys you to use any Java libraries without any issue.
I donβt have enough practice with Kotlin to honestly evaluate it against Java. I was turned off by it only compiling to Java 6 or 8 last time I tried, as I heavily leverage modules in Java 9+ for my own code.
I'm an android developer and have done work in both Java and Kotlin, definitely prefer kotlin more and am glad my team is transitioning to using kotlin for our application :)
Kotlin! I think the ability for more concise code is the biggest advantage, no need to "new" objects or use semi-colons, allows for you to turn your thoughts into code quicker. Null safety and immutability is great too.
Oldest comments (24)
Kotlin for me π
Gotta love that optional chaining and not having to write
if(myVar != null)over and over again πI think Kotlin will rise in the next years, as Python today. But today Java is very important. I program in android and in many courses, its instructors says that learn Java first.
That's what I did and it is kinda why I love Kotlin so much.
Ohhh yes. I believe I will love it, too.
Perhaps I will love it more after I take some time to learn what it offers and practice with it. The Android benefits don't really impact me as I'd be using the NDK.
I prefer Kotlin (heck, I even wrote a web framework in it: alpas.dev).
Kotlin is more expressive and is more modern. Java is now trying to catch up, which is good for everyone.
At first I wasn't sure about Kotlin having full interoperability with Java. I thought that would make the language more rigid and may not be able to get away from some limitations (like type-erasure generics). But after writing a full web framework, I've realized that it was a brilliant move as it allowys you to use any Java libraries without any issue.
I think it's Kotlin.
Actually, it's because Kotlin is more dynamic than Java (no semicolons for example).
Even, your code gets shorter and more understandable in Kotlin. Try it! ;)
Yisssss!
I donβt have enough practice with Kotlin to honestly evaluate it against Java. I was turned off by it only compiling to Java 6 or 8 last time I tried, as I heavily leverage modules in Java 9+ for my own code.
Kotlin. It's faster to type, easier to read, and still compiles to Java Bytecode... As well as native code, while transpiring to JavaScript!
I'm definitely glad I know Java, though... That allows me to figure out some of the documentation for Spring, etc...
I'm an android developer and have done work in both Java and Kotlin, definitely prefer kotlin more and am glad my team is transitioning to using kotlin for our application :)
I personally prefer Java, I will move to Kotlin whenever it outshines Java for enterprise (if ever) in terms of employment, since that's my goal :D
Kotlin! I think the ability for more concise code is the biggest advantage, no need to "new" objects or use semi-colons, allows for you to turn your thoughts into code quicker. Null safety and immutability is great too.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.