Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I like it.
Pro:
Cool syntax.
Java libs.
js as compile target.
Contra:
in ultra rare cases where you develop for js and jvm you have to use some hacks to have some stuff done.
arrays are annoying sometimes.. -
ch0s3n1827yYes. Kinda new to android myself but I'm really enjoying using Kotlin after getting used to it. My code feels cleaner and easier to build. (done Java programming for android also).
Took me a little while getting used to working with the null safety mechanisms and variable declarations though. I suggest reading the kotlin reference on their website to get the most out of the language. -
leanrob36647yI have dipped my toe in the water myself and let me say...
the water is warm and nice.
I may dive in (or at least go for a swim) in the Kotlin waters soon! -
lucniner7307yLet me add my 2 cents from a backend side and not android perspective. The syntax is neat especially data classes, stream and map reduce operations as well as the primitives and that everything is final.
If you are using some 3rd party libraries (which you probably will) things can get a little bit messy aome times. Kotlin does not want NULLs but classical libraries written in java often return null. This may sound not as a big deal but it then desttoys the neat syntax and Setup you had in the first place.
We are currently doing sprinf boot 2.0 and spring 5 with webflux and mongosb in two seperate projects with kotlin. Finding the right workaroubds and tweaks can sometines be frustrating but definately worth it so gibe it a try and see if it fits your needs -
Absolutely. There is nothing Java can do which Kotlin can't, and theres a tonne more Kotlin can rather than Java. It's truly a close-to-perfect JVM language. Lisp and Rust-level safety are the only things missing
Related Rants
Question:
Kotlin?
Yes || No || Donno
Thinking about giving it a small touch but wanted to look on what others thoughts are.
Cheers ☕
question
kotlin java android
kotlin