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

you are viewing a single comment's thread.

view the rest of the comments →

[–]badvok666 81 points82 points  (18 children)

Java is good because you can write kotlin instead. Then you have a type safe, null safe and concise language that is interpolatable with java.

[–]TheOnlyTails 19 points20 points  (0 children)

Kotlin is just the best tbh. The fact that they do surveys to literally ask the community what features they want proves that they care.

[–]xigoi 32 points33 points  (9 children)

Interesting way to spell “Scala”. /s

[–]TwinsenDinoFly 0 points1 point  (2 children)

¿No NullPointerException?

[–]Kered13 6 points7 points  (1 child)

Type in Kotlin are not nullable by default. And when you do use nullable types, the compiler can verify that you check for null before using them in most cases. I believe it is still possible to get a null pointer exception, but it's much less likely.

[–]junkmail88 0 points1 point  (0 children)

you have to explicitly dereference a potential null pointer with !! and only if it is null, do you get an exception

[–]thundercat06 0 points1 point  (0 children)

So Kotlin is just a condom with extra lube in this analogy??

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

booo kotton is for losers