Introduction to Kotlin (Google I/O '17)

Published on May 19, 2017 464,325 views

Kotlin is now an officially supported language for Android. This session provides an introduction to the language, covering basic concepts and tips for developers to get started with it.

Watch more Android talks at I/O '17 here: https://goo.gl/c0LWYl
See all the talks from Google I/O '17 here: https://goo.gl/D0D4VE

Subscribe to the Android channel: http://goo.gl/GEh1ds

#io17 #GoogleIO #GoogleIO2017

  • Alex Stone
    Alex Stone Год назад I love it when people crap xD
  • Sandeep Kumar Jakkaraju
    Sandeep Kumar Jakkaraju 1 месяц назад is referring to any geography sir
  • Dave Park
    Dave Park 2 года назад (изменено) Who else hasn't tried out Kotlin yet? 🙋🙋🙋
  • Puanani Lackland
    Puanani Lackland 4 месяца назад I havent
  • Arijeet Dasgupta
    Arijeet Dasgupta 7 месяцев назад Me
  • Kamil Bolka
    Kamil Bolka Год назад me
  • Dave Park
    Dave Park 2 года назад (изменено) Hey guys, I've been learning Kotlin with Treehouse (the course is free until 6/8) for the past few days. Check it out if you haven't already: https://teamtreehouse.com/library/kotlin-for-java-developers
  • Khalid Khan
    Khalid Khan 2 года назад AMIR Style
  • Khalid Khan
    Khalid Khan 2 года назад Jarvias Owens
  • AMIR Style
    AMIR Style 2 года назад i did just now my first calculator on it , i don't know java i programming beginner using C
  • Jarvias Owens
    Jarvias Owens 2 года назад 👋 java
  • Zhenshan Chen
    Zhenshan Chen 2 года назад I won't try it until someone who has plenty time to help me to figure out most buggy features, just no time for it 😂
  • Zhenshan Chen
    Zhenshan Chen 2 года назад Dave Park my worst nightmare when I realized I can't rename a globe function in swifter based project in Xcode as convenient as I did in android studio.
  • Dave Park
    Dave Park 2 года назад I feel like Apple's Swift also inspired Google to support Kotlin in Studio
  • SodaDK
    SodaDK 2 года назад Never heard about this language before today. Better start learning :)
  • CyberTron
    CyberTron 2 года назад Man I'll never understand why people hate JAVA this much, anyways kotlin uses JVM so its like a icing on the cake
  • germangb
    germangb 2 года назад That's the spirit
  • MegaPalestine2010
    MegaPalestine2010 2 года назад (изменено) me, but I'm happy I've got a chance finally to get rid of java!
  • CodeingBoy
    CodeingBoy 2 года назад Me also, gonna try it
  • TLCM
    TLCM 2 года назад Me! I'm scared! ok no... but I just have to get started.
  • Gautam Parmar
    Gautam Parmar 2 года назад i miss you ; (semicolon)
  • Guri Getsadze
    Guri Getsadze 3 недели назад @Martin Chrástek But are not recommended and nobody uses them. -> bad practice
  • Martin Chrástek
    Martin Chrástek Год назад Well, you can use semicolons in Kotlin, they are optional.
  • thành phan
    thành phan 2 года назад The fact that Kotlin was born before Swift 3 years (2011 and 2014), but someone says that they copied from Swift =))
  • Nishant Shah
    Nishant Shah 6 месяцев назад Doesn't matter
  • [ Kris ]
    [ Kris ] 11 месяцев назад John Roest - After 3 years of studying Computer Science I feel empty inside...
  • Moreira Memes
    Moreira Memes Год назад Apple being always innovative.. 🐵
  • Zeturic
    Zeturic Год назад All languages build on the languages that came before. Languages that go on to be developed further than their initial release usually build on languages that came after, as well. Neither Kotlin nor Swift are the originator of any of their features. But, it doesn't matter who did it first or where they got the ideas from.
  • unlokia
    unlokia Год назад I think... it doesn't even matter, really.
  • Trung Trinh
    Trung Trinh Год назад I think Kotlin is copied from Scala though
  • yasin yaqoobi
    yasin yaqoobi 2 года назад Both of these languages are inspired by Scala, wether they admit it or not. They owe it all to Lord Odersky.
  • John Roest
    John Roest 2 года назад The fact that most programming languages borrow ideas from each other and make Computer Science as a whole better with each iteration of languages!
  • TLCM
    TLCM 2 года назад thành phan the fact that both took ideas from python, Ruby, pearl and many more... That's why it looks like they copied each other 😉
  • Huzefa Raja
    Huzefa Raja 2 года назад Pressed CTRL + Z to go back to some of the previous code. Then realized I was watching a video. (facepalm)
  • Progs Hunter
    Progs Hunter Год назад Kotlin is shit .. i have no documents about it .. shit shit and it became so demanded .. :/ fuck computer sciences and fuck coding
  • Nemanja Nedeljković
    Nemanja Nedeljković Год назад Esc, U
  • Amirsam. Khalife.
    Amirsam. Khalife. Год назад Varun Mani HB CV
  • Amirsam. Khalife.
    Amirsam. Khalife. Год назад Nitin Muthyala
  • Amirsam. Khalife.
    Amirsam. Khalife. Год назад Huzefa Raja ex
  • VeslorTV
    VeslorTV 2 года назад ctrl + z is evil, use vcs
  • Varun Mani
    Varun Mani 2 года назад :) They gotta make a movie with Micheal J Fox on that one.
  • Nitin Muthyala
    Nitin Muthyala 2 года назад Damn i did that too.. coz i was in full screen mode. lololol
  • Rohit Kumar
    Rohit Kumar 2 года назад bwahahahahaha....
  • Joking Limit Reached
    Joking Limit Reached Год назад "Oh, yeah, I love it when people crap... er er.. clap"
  • Narblo
    Narblo 2 года назад Looks like python-java hahaha it's nice
  • rockmemanu
    rockmemanu 1 месяц назад @Winston Mcgee why so edgy
  • Winston Mcgee
    Winston Mcgee 11 месяцев назад it's not just python-java. seriously if you think that kotlin is just python-java then you're dumb af
  • Kane San Miguel
    Kane San Miguel 2 года назад (изменено) I'm not a developer, so I had no clue what he was talking about, but this seems dope! Hopefully this makes coding easier for you guys.
  • Yannick
    Yannick Год назад it is in fact dope
  • Silver_ring
    Silver_ring Год назад For me its hard to start with java, some code does not make sense but you must remember and write it to work
  • Jean-Paul Roberts
    Jean-Paul Roberts Год назад @Kane San Miguel : Kudos. If I was still "working for the man", I'd want someone like you as my manager.
  • fjrg76
    fjrg76 Год назад Anything is better than Java
  • joshua fabillar
    joshua fabillar Год назад this comment make me laugh, i mean seriously
  • Макс Max
    Макс Max Год назад Ruan Pieterse just, it's very interesting
  • Ruan Pieterse
    Ruan Pieterse Год назад Lmao what? ;D Why are you watching a video on kotlin if you're not a developer?
  • Johan PONIN
    Johan PONIN 2 года назад it's nice blend of old concepts in niche languages (lisp, scheme, ml, haskell). Kotlin made them into a nice whole that will speed up writing and fixing code a lot. I'd bet a 100$ that user will feel the change on their phone.
  • Ryan Doherty
    Ryan Doherty 2 года назад 9:24 lol
  • Irodoku Puzzle
    Irodoku Puzzle 2 года назад I love that too!
  • EgyGam3r
    EgyGam3r 2 года назад Hi Oracle, how yo doin?
  • Jordan Lira
    Jordan Lira 11 месяцев назад Umberto not anymore. It's use ART, that's doesn't produce JVM bytecode anymore because it's use Ahead Of Time(AOT) compilation. That's how google got rid of Oracle lawsuit.
  • Umberto
    Umberto Год назад I don't think Oracle will loose power with the adoption of this new language since it still runs on the JVM
  • Rullyanto Purwa Caraka
    Rullyanto Purwa Caraka 2 года назад (изменено) probably counting their JavaMoney right now
  • Stephen Rose
    Stephen Rose 2 года назад this was the video that converted me
  • Ahmad Jamal Mughal
    Ahmad Jamal Mughal 6 месяцев назад To Christianity?
  • Ankur Gupta
    Ankur Gupta 6 месяцев назад Kotlin cult ftw!!
  • Arpit Johri
    Arpit Johri Год назад from man to woman
  • Ryan Jones
    Ryan Jones Год назад Into a developer! ;)
  • Pritam Parab
    Pritam Parab Год назад Stephen Rose into what? 😂
  • Aryan Singh
    Aryan Singh 2 года назад coroutines, null safety, minimal clutter in lambdas and no semicolons. I already love it. And my dear java - Winter is coming
  • Lars Rye Jeppesen
    Lars Rye Jeppesen 2 года назад Kotlin reminds me a lot of Typescript
  • Attila Varga
    Attila Varga 2 года назад Few more Java ripoff and finally they invent ECMAScript 4.
  • Tellis Varda
    Tellis Varda 2 года назад this rivals swift I'd say. some of it looks better. and the coroutines and multiplatform sounds amazing.
  • Grobee
    Grobee 2 года назад plus it can use any Java libs, which is much more powerful than what Swift has
  • Federico Jimbo Smithson
    Federico Jimbo Smithson 2 года назад First Dart and now Kotlin.... damn so many to learn
  • Harjit Singh
    Harjit Singh 11 месяцев назад Daniel Moraes it kinda has taken off since they introduced flutter and it was leaked that flutter will be one of the main ui development frameoworks
  • bakerdude06
    bakerdude06 2 года назад Anix PasBesoin He was talking about Fuchsia
  • Mike Mitterer
    Mike Mitterer 2 года назад I go with Dart and Kotlin and I hope both of them will survive. The looser is Java.
  • Federico Jimbo Smithson
    Federico Jimbo Smithson 2 года назад still, dart will be used for cross platform native app development.. so the argument stands
  • Daniel Moraes
    Daniel Moraes 2 года назад FedJimSmith stop that fuschia thing! It's just a experimental project, we don't have nothing for now to belive that will took off!
  • Cristian Garrido
    Cristian Garrido 2 года назад Kotlin is web also (js)
  • Federico Jimbo Smithson
    Federico Jimbo Smithson 2 года назад (изменено) It (Dart Lang) will soon be for native application development - search for Flutter & Fuchsia Armadillo
  • Caffeine Yeahh
    Caffeine Yeahh 2 года назад Dart is a Web language, and server. Kotlin is for applications.
  • Christopher Stamp
    Christopher Stamp Год назад (изменено) The use of implicit conversion is fine like scala but it seems like too much magic with out explicit statement about it's intent
  • Vlad Gheorghe
    Vlad Gheorghe 7 месяцев назад getters/toString/val : java + lombok still - type inference rules
  • Innobyte Algérie
    Innobyte Algérie 2 года назад (изменено) a lot of c# features (delegates, tasks, nullable, implicit type val=var, named parameters, encapsulation"sealed", "Out" reference parameterin 27:53 ...) but much cleaner
  • Patrick Artounian
    Patrick Artounian Год назад ^ Kotlin was made because they wanted an easier non-academic version of Scala.
  • gorudonu
    gorudonu 2 года назад (изменено) I agree with that. Kotlin looks a lot like Scala ;)
  • Lazic B.
    Lazic B. 2 года назад I could reference almost everything from Kotlin to Scala. And in matter of fact, I'd dare to say that Kotlin is pretty much stripped down Scala. Pattern matching was implemented in Scala before it was in C# (plus it's not even close to Scala's pattern matching). Implicits were implemented in Scala before than it was in C#. That doesn't mean that these concepts belong to Scala. They are simply concepts of functional programming.
  • Sume Rossini
    Sume Rossini 2 года назад (изменено) @Lazic B. even the speaker himself has referenced C# at least twice in his talk. That is the only language he has referenced when talking about language features
  • Lazic B.
    Lazic B. 2 года назад C# features my ass. Those are general features of functional paradigm.
  • Keith Karanu
    Keith Karanu 2 года назад Innobyte Algérie I wish there was a kotlin of c#
  • Caio Vitor
    Caio Vitor 2 года назад Great explanation. Thanks Google and Jetbrains ❤👍