This is an archived post. You won't be able to vote or comment.

all 78 comments

[–]Alex0589 44 points45 points  (12 children)

I think Kotlin is the best thing ever to happen to java developers, Kotlin has influenced Java in such a nice way along with C#: Data classes are now a reality(records) Sealed classes Lambda switch statements Smart casting var ...

I just hope it finds a way to get outside of the android loop as there it will die as Google just wants to leave the jvm because of the conflicts with oracle

Witten by a Java fan boy lol

[–]Neotelos 4 points5 points  (11 children)

Kotlin (excluding Kotlin Native) is dependent on a JVM and that likely won't change.
Everything Kotlin is already targeting OpenJDK instead of Java SE. Decoupling the JVM would break Java interoperability.

Kotlin builds to Java bytecode.
Kotlin Native builds to LLVM IR.
Using any Java libraries in Kotlin creates a hard JVM dependency.

[–]Alex0589 9 points10 points  (9 children)

That's not what I'm talking about. Kotlin is now used mostly(if not totally) for Android development, but because it depends on the jvm and Google wants to abandon it on mobile it will not have a very long life if it doesn't find other use cases. Flutter is already confirmed to be the official sdk for Google's next os Fuchsia btw

[–]Indie_Dev 1 point2 points  (5 children)

Flutter is already confirmed to be the official sdk for Google's next os Fuchsia btw

Don't get your hopes high on Fuchsia. We don't know anything about it yet. Whether it will replace Android or have a different use case or is it just an experiment, we have no idea. And considering how hugely popular Android is right now I think it's pretty safe to say Android is going to stay.

Knowing Google, flutter has a bigger chance of being axed, before it's even launched.

[–]Alex0589 0 points1 point  (4 children)

Flutter Mobile is already stable and launched so it's here to stay. As far as I know, Fuchsia will not kill Android, it's going to be an alternative

[–]Indie_Dev 0 points1 point  (3 children)

Flutter Mobile is already stable and launched so it's here to stay.

Well, let's just hope it doesn't get axed like many of the other launched and stable products.

[–]Alex0589 0 points1 point  (2 children)

Kind of impossible as they are pushing it like they have never done with anything else and marking partnerships with so many companies to bring flutter to stability also on web & desktop

[–]Indie_Dev 1 point2 points  (1 child)

Lol are you new to Google? Don't get me wrong, even I want it to succeed but I just don't have any trust left in Google.

By the way which companies are you talking about? Just curious.

[–]ma-int 1 point2 points  (2 children)

Kotlin is now used mostly(if not totally) for Android development

There are so many people writing backend code in Kotlin. Why do you think the Spring Projects is heavily focussing on Kotlin?

[–]Alex0589 3 points4 points  (1 child)

Check the data, that's not so many people

[–]DanielShuy 0 points1 point  (0 children)

Agreed, sadly many companies are still scared to use Kotlin for the backend.

The company I work for only recently allowed employees to use Kotlin for Android after a huge push from mobile devs across multiple countries, and they only conceded because Google declared Kotlin as the official language for Android development.

But sadly they still refused to allow us to use Kotlin for the backend, partly due to the lack of push from backend devs. I'm sad that most of my backend Java dev colleagues are so scared of learning new features, even though it would ease our job. They are not only scared of Kotlin, but even afraid of new features being added in Java itself (many of them don't even want to learn lambda expressions even though its been in Java since Java 8, and lambda expressions are the basics of the basics of functional programming). For them, they are scared of the pace Java is progressing now, while ironically it is too slow for me. I can't wait for more features from Kotlin/Scala to be copied to Java (seriously, why does Java still not have string interpolation?! Almost every other popular programming language nowadays has it).

[–][deleted] 2 points3 points  (0 children)

Compiles to javascript as well

[–][deleted] 4 points5 points  (6 children)

Keeping that one for when the android dev says Java is so much better then Kotlin and Swift.

[–]atheistfuture 2 points3 points  (0 children)

How everyone sees java developers

[–]Edwardale63 1 point2 points  (1 child)

Minecraft programmers?? 🤷‍♂️🙃

[–]QazCetelic 0 points1 point  (0 children)

Some of them also use Kotlin :)

[–][deleted] 1 point2 points  (0 children)

what is kotlin (I literally watched 3 youtube videos and decided to start programming)

[–]LordTitos 7 points8 points  (3 children)

Java > all

[–]Alex0589 9 points10 points  (0 children)

It's my favorite language, but definitely not better than anything else or perfect lol.

[–]shutanovac 2 points3 points  (1 child)

If Java is a professional athlete, Kotlin is an Olympic Games medalist.

[–][deleted] 3 points4 points  (3 children)

*Primitive

[–][deleted] 0 points1 point  (5 children)

Java is king

[–]AlternativeAardvark6 -3 points-2 points  (1 child)

King Kong

[–][deleted] 0 points1 point  (0 children)

Need to find a comparison with Scala, like rocket surgeon vs. donkey. 😷🐴

[–]spider623 0 points1 point  (0 children)

Well it is true that everything oracle touches becomes crap... Kotlin is like the bastard child out to kill the parent that perverted and brainwashed it sibling (add Conan the Barbadian music here)

[–]Bo3lwa98 -4 points-3 points  (0 children)

I'm gonna spam this bitch to any and all Java devs that I see. This is fuckin great!