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


43 Replies to “How to Kotlin – from the Lead Kotlin Language Designer (Google I/O ’18)

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

  2. 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?

  3. 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.

  4. 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";
    }
    } ();

  5. 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."

  6. 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

  7. 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

  8. Whenever he said, do you have questions? I always had one, and I remember he is in my phone not live 😛

  9. 18:42 Is the function argument e on line 26 nullable? If so and I pass null on line 33 which is clause in the when statement would be true? Is sealed making it non-nullable?

  10. The return type of a function is located at the end of a line, which is one of the first things I would like to see when I read an API.

  11. I sorta know kotlin still learning tho si cant articulate likes and dislike too well yet. But idk if I want short dev time as a python and c c++ guy I'll just go with python I feel you need an ide with java and kotlin because there is so much overhead, extension functions are really nice tho

  12. Kotlin is great… But to put my feet in the workplace, I must know Java first. Indeed, dice, glassdoor, wherever you look, Java still in huge demand due to its deep penetration and a decade long dominance in enterprise world.

    P.S. on next kotlin release, please change FUN with something else. That irrelevant word is annoying to many coders(if not all).

  13. More than the language, I like this person. He is so humble and down to earth. Great mind.. humble human being!

  14. Can you just please keep the code on the screen all the time, next time? Maybe just have a speaker view contained in the nested screen…This way I had to stop video too many times.

  15. I just don't understand why there are so many software engineers writing kotlin code on Mac computers, am I the only one who notices this ?

Leave a Reply

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