Coding Fun Kotlin How to Kotlin – from the Lead Kotlin Language Designer (Google I/O '18)

How to Kotlin – from the Lead Kotlin Language Designer (Google I/O '18)





Kotlin is similar to the Java programming language, so it’s natural that your Kotlin code looks very much like Java code when you are first start to use the language. While this is fine to begin with, you’re probably not taking full advantage of all the language benefits. In this session, the lead Kotlin language designer will show you how you can write more idiomatic Kotlin, what the benefits are, and help you discover some of the most powerful yet lesser known features of Kotlin.

Rate…

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

27 thoughts on “How to Kotlin – from the Lead Kotlin Language Designer (Google I/O '18)”

  1. Vaintti says:

    This presentation just keeps on blowing my mind through the whole thing

  2. TwistenTiger says:

    To anyone thinking they are used to Java and don't need to learn Kotlin or struggling, I say go for it learn it trust me all worth it don't think just do it

  3. Steve Buddy says:

    Umm… Can I have my C#/Java language back now?

  4. Hazarth says:

    Finally someone fixed Java and made it more C again with other great additions from languages like Python and C# and all that. There a are a few quirks I'm not particularly happy about, a lot of them come with the JVM baggage (like not being able to manage my own memory) and I don't understand why we had to switch to name:Type schema instead of "Type name" which I thought was always more natural to read like real text, but I can live with those

  5. Just when I thought Python is crazy. This is crazier.

  6. hdk loh says:

    Wait take a break n tell…

  7. Veer Han says:

    Kotlin saves my time, I love it.

  8. DeLL116 says:

    Over-analyzing with developer paranoia :

    Google Big Boss – "How do we get developers to start writing apps for Fuscia with Flutter and Dart?

    Google Smaller Big Boss – "Introduce a new programming language to Android that's "better", but also "annoying"!

    Google Big Boss – "Do it."

  9. DeLL116 says:

    Me @ 11:51 (look to the bottom right)

  10. umer farooq says:

    I dont like kotlin !

  11. code_report says:

    At 22:14, "this is something pretty unfamiliar for the C-language family" … that is true pre-C++11. But with C++11, there are lambdas and immediately invoked lamba expressions (IILE), so you could write very similar code as follows:

    auto s = []() {
    if (condition) {
    cout << "Yay!n";
    return "Luck!";
    } else {
    return "Not this time";
    }
    } ();

  12. Wu Jacob says:

    Great job, master piece. Is the code in the demo available for download anywhere?

  13. Toto Ze says:

    RIP Oracle. You will be remembered Java.

  14. eatthepi says:

    That trick when he showed Kotlin byte code then decompiled to Java was pretty cool. A few months back I was a little confused about what the 'noinline' keyword was doing… this trick would have probably made it clear.

  15. eatthepi says:

    The coroutine stuff went over my head lol. What exactly do all those keywords (high level functions, I guess) do? How do I make sure I'm not leaking a reference to my activity? Can I cancel the blocking thing?

  16. Srujan Barai says:

    I don't understand this fight of 'which language lets you write shorter code'. I still find Java more readable.

  17. Dan Murad says:

    How is this an improvement over Scala?

  18. Native android development is dying, why would we learn kotlin?

  19. I wish the demo was on how to do 3D arrays stuff in Kotlin, I would laugh so much!

  20. Rohan Pal says:

    I am new to code. I don't get this actually. What should I know before Kotlin!?

  21. mio酱 says:

    how can i get these codes

  22. 👍🙌👍👍🙌👍🙌👍🙌👍🙌👍🙌👍🙌👍🙌👍🙌👍🙌👍🙌

Leave a Reply

Your email address will not be published. Required fields are marked *