16

just started learning Kotlin since this morning. i love it !

Comments
  • 1
    I am so knee deep into java that I can barely shift over to kotlin. Have you had similar experience
  • 0
    @makarand i'm not sure to be honest. i used java for almost 5 years. and yes i hate to use it for a lot of reasons one of them is verbosity. and kotlin started to attract me. let's se how it goes.
  • 1
    My own thoughts refrain me from wanting to learn it, it feels like Kotlin is to Java what JQuery is to JavaScript.

    Can anyone please convince me Im wrong?
  • 0
    @DevForTheMoney i'm no pro. but i learn kotlin not because a specific reason. i like to learn new languages. if it fits me i'd like to use it more.
  • 2
    @DevForTheMoney well kotlin is not some glorified framework but a whole new language.
  • 0
    @makarand yeah it is, thats why i want to learn about it
  • 1
    @makarand
    I understand this difference, the similarity Im referring to is the fact that Kotlin first gets compiled to Java and then goes through the same compiler: why would I want to learn a different kind of Java, which is, in its core, still Java?
  • 1
    @DevForTheMoney i think there is term for that. is it 'dialect'?
  • 1
    @aureliagbrl Some people say “transpile” but I hate that word. I like dialect better.
  • 1
    @DevForTheMoney According to the Kotlin FAQ, Kotlin code actually compiles to JVM bytecode directry rather than to Java code and then to bytecode. This enables some features in Kotlin that don't exist in Java.

    But what makes Kotlin great in my opinion is that it just takes everything you hate about Java and makes it more likable. And if you don't hate anything about Java, then you'll love everything about Kotlin.
  • 1
    @DevForTheMoney Would u like to code in assembly or in C? given the fact that C first compiles to assembly...
  • 0
    @PaperBag
    Thanks for the clarification, I misinterpreted.

    I don't really hate things like that because during building I to be more focused on understanding how something works than to be bothered by it. Other than that I guess I get the appeal more as an alternative for Java as opposed to an extra layer. Guess I need to try it to get what was wrong with Java in the first place 😁
  • 0
    @DevForTheMoney You are wrong. Kotlin is not a framework for easing Java codes, it is a different language which compiles on top of JVM.

    But Kotlin to Java is pretty like Typescript to Javascript.
  • 1
    @illegaldisease Kotlin also compiles to Javascript. So you could say that Kotlin to Java is like Kotlin to Javascript.
  • 0
    @aureliagbrl What resources do you use to learn Kotlin? I'm learning it, too.
  • 0
    @PaperBag Spot on mate except on one point: If there's nothing you hate about Java then you haven't really used Java...

    Java is dead, long live Kotlin 👑
  • 0
    @PaperBag pretty much yes.
Add Comment