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
-
makarand6016yI am so knee deep into java that I can barely shift over to kotlin. Have you had similar experience
-
@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.
-
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? -
@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.
-
makarand6016y@DevForTheMoney well kotlin is not some glorified framework but a whole new language.
-
@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? -
devios157706y@aureliagbrl Some people say “transpile” but I hate that word. I like dialect better.
-
PaperBag8666y@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. -
humble336y@DevForTheMoney Would u like to code in assembly or in C? given the fact that C first compiles to assembly...
-
@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 😁 -
@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. -
PaperBag8666y@illegaldisease Kotlin also compiles to Javascript. So you could say that Kotlin to Java is like Kotlin to Javascript.
-
@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 👑
just started learning Kotlin since this morning. i love it !
rant