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
-
Java with a different syntax and additional runtime stuff.
Same shit, different smell. -
It wasn't complicated enough to write native apps in Objective-C and Java which people had been using for years.
And the native world grew jealous of the front end world getting a new framework every 6.274 seconds.
So they made Swift and Kotlin so we all had extra things to learn for no fucking reason. -
10Dev28994y@HiFiWiFiSciFi don't forget all the attempts to bring the frontend to the app development world.
Looking at you, Ionic, React Native and Flutter -
It compiles to java bytecode, and runs on the jvm. Same idea as typescript - that transpiles to javascript.
Kotlin reduces the java verbosity, and removes the boilerplate. Not the first lang that attempts this. Look at Jython, Scala, and others. -
It's a modern, general purpose language that compiles to JVM bytecode (native compilation is possible with graal but that's still a niche case for the moment.)
It's not perfect, but it's probably my favourite general purpose language at the moment. It's got a nice, familiar syntax to anyone who's used c style languages in the past, but also introduces a whole bunch of modern language features without cramming the language with useless junk.
Some people see it as a Java 2.0, personally I just see it as a separate language. -
@AlmondSauce Kotlin also has a native compilation option without Graal.
One can also compile Kotlin to JavaScript, as two compile targets are somehow not enough :)
Related Rants
Im learning kotlin but heres what i dont get..
is it a completely new language that uses jvm concept like java or is it a template over java with extra stuff like C++ and C.
when i import a library in kotlin that exists in the java sdk does it use that or all the libraries are made for kotlin.
is kotlin java++ basically or is it something completely different
sorry if its a dumb question still nee at this
question
kotlin
java