Kotlin

thoughts on kotlin, be concise please

I want to know if it is worth to learn it..

I didn't use it but for what I have read and the code I've seen it seems like a good alternative to Java. A lot of stuff that you usually need is already in the language.

It's pretty neat l. learn it instead of Java. Works for Android apps as well.

What differentiates Kotlin from Java?

Can I use Kotlin in my introductory object oriented class that uses Java and get away with it?

kotlin is a superset of java
it adds features that java uses "work arounds" for like default arguments (method overloading) and data classes

I don't know why, but the word Kotlin just makes me think of tampons, and sanitary pads.

Looked at some code a while back. Don't remember much but iirc it had some weird syntax like 'to' keyword? I could very well be wrong though.

is the tooling and IDE for it FOSS?

otherwise it's useless shit like google's shitty dart lang.

imho even if u want to focus in kotlin, u should learn java first so in any case u can get a job

I hear it's the future

>kotlin is a superset of java

It's not though, they're identical. Both run on the same instruction set

>Can I use Kotlin in my introductory object oriented class that uses Java and get away with it?

lol no

superset in terms of features, you cant put java in kotlin, but cant put kotlin in normal java

>you cant put java in kotlin, but cant put kotlin in normal java

You must have confused with Kot Blini.

So it's like C#?

why

Would your German teacher give you credit for your French report?

but this isnt a java class, its an oop class

your analogy fails

it'd be like

"Using pronouns to build sentences 101"
and you decide to use spanish instead of english

>course is in german
>material is in german
>everybody speaks in german
>everything related to the homework is in german

>>b-but you didn't say I can't use french to solve this


don't make me use food analogies

Honestly it's way more of a hairsplit
like using italian instead of spanish

why are you trying to discourage me from using a better language

>visit italian restaurant
>order food
>for some reason get spanish dish
>>lol you didn't specifically say italian and they're similar anyway

huh?

that sick gradient

pretty tasty

We're switching everything over from Java to Kotlin at work. It's much more productive to work with, and one tends to make less mistakes. Also, easy to learn if you already know any other JVM language.