12

Question:
Kotlin?
Yes || No || Donno

Thinking about giving it a small touch but wanted to look on what others thoughts are.

Cheers ☕

Comments
  • 4
    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..
  • 4
    Yes. 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.
  • 0
    I 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!
  • 0
    Definitely yes.
  • 1
    Let 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
  • 0
  • 4
    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
Add Comment