[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is Kotlin just Java for retards?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 20
Thread images: 1

File: kotlin_250x250.png (5KB, 250x250px) Image search: [Google]
kotlin_250x250.png
5KB, 250x250px
Java for retards, or does it actually have something going for it?
>>
kotlin is fucking awesome my dude

https://fabiomsr.github.io/from-java-to-kotlin/
>>
>>60891864
more up to date link
https://github.com/MindorksOpenSource/from-java-to-kotlin
>>
>>60891555
Java is for retards.
>>
>>60891864

Read first example

>never heard of static imports

Knows the rest of the list is going to be shit

>for (i in 1..10) { }

Great, so if I have to 1..1000000000000 I'm going to OOM because it's generating a list first.
>>
Is kotlin more ruby than python?
>>
>>60891965
It is probably optimized at compile time, like most things.
>>
>>60892735
/g/ likes to pretend that it doesn't know about compiler optimizations. It goes well with the whole "assembly is the only language worth writing in" schtick.
>>
>>60891965
>lists are the only things you can iterate over
>>
>>60893075
/g/ are just schoolkids they don't know much, it is why they are attracted to C and Haskell, good languages for learning.
>>
>>60891555
Pajeet approved wrappers. No thanks OP
>>
it comfier for Android development.
you dont need 'findViewById' anymore
>>
>>60894032
It isn't a wrapper, it's being compiled to a Java machine code binary compatible with a code compiled from Java.
>>
>>60894231
>implying java machine code is any better
>>
It's a better Java. It's not something special like Clojure.
>>
>>60891965
>Great, so if I have to 1..1000000000000 I'm going to OOM because it's generating a list first.

>Range is defined for any comparable type, but for integral primitive types it has an optimized implementation.
https://kotlinlang.org/docs/reference/ranges.html
>>
>>60893957
What comes after Haskell then?
>>
>>60891864
OK so like coffescript is to javascript. Enjoyed a couple of years of popularity and now basically dead, no thanks. Scala is nicer.
>>
>>60894257
I've merely stated that it's not a wrapper. You have a fertile imagination, kiddo.

>>60894730
Formal semantics of programming languages such as denotational sematics.
>>
>>60895080
Kotlin is a second official language for Android, Scala is completely out of scope. It means that you will use Java for Android if you won't use Kotlin.
Thread posts: 20
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.