10 Kotlin Tricks in 10 ish minutes by Jake Wharton

Ғылым және технология

Subscribe to Devoxx on KZread @ bit.ly/devoxx-youtube
Like Devoxx on Facebook @ / devoxxcom
Follow Devoxx on Twitter @ / devoxx
Kotlin is new language growing in popularity as a complement to Java. Its major advantages and features compared to Java are immediately appealing. While it's quick to learn, it also has a lot of small and thoughtful parts which can be harder to discover. This short talk will cover 10 of my favorites with real-world examples. Attendees should come in having seen some Kotlin but looking to learn even more.
Jake Wharton is an Android developer at Square working on Square Cash. He has been living with a severe allergy to boilerplate code and bad APIs for years and speaks at conferences all around the world in an effort to educate more about this terrible disease.

Пікірлер: 37

  • @ErsinErtan
    @ErsinErtan7 жыл бұрын

    03:36 #01 Explosive Placeholders 04:33 #02 Semantic Validation 05:59 #03 Anything and Nothing 08:54 #04 Let 10:50 #05 Multiline String Literals 11:50 #06 Lazy but Speedy 13:12 #07 Code Block Measurement 13:49 #08 Deprecation Levels 15:03 #09 Deprecation Replacements 15:58 #10 Erasing Erasure

  • @bcut

    @bcut

    5 жыл бұрын

    thanks +Ersin Ertan

  • @theapache64

    @theapache64

    5 жыл бұрын

    @Devoxx You should add this timeline to the description (y)

  • @ayudakov

    @ayudakov

    4 жыл бұрын

    Thank you!

  • @holdenwilder4506

    @holdenwilder4506

    2 жыл бұрын

    I dont mean to be off topic but does someone know a trick to get back into an Instagram account? I was stupid forgot the account password. I would appreciate any assistance you can give me

  • @ramkrishnasarma1171

    @ramkrishnasarma1171

    2 жыл бұрын

    @@holdenwilder4506 k

  • @gregoryphiri5724
    @gregoryphiri57242 жыл бұрын

    Years later and still informative, thanks a lot.

  • @karolmierzejewski1392
    @karolmierzejewski13927 жыл бұрын

    #10 is really cool. Well, all of them are, but I didn't know about this one :)

  • @SulaimanRafiq
    @SulaimanRafiq2 жыл бұрын

    Great video. Concise and to the point yet a wealth of information shared. Thank you

  • @danny117hd
    @danny117hd3 жыл бұрын

    Finally my KOTLIN search is over. Great Video. Great Format. Easy to see on chromecast.

  • @ladimerelyeh7082
    @ladimerelyeh70826 жыл бұрын

    Excellent video. Well done.

  • @hasnainabbasdilawar8832
    @hasnainabbasdilawar88325 жыл бұрын

    All hail lord Jake Wharton!

  • 6 жыл бұрын

    Great tricks! thanks Jake.

  • @Ben-wx1ln
    @Ben-wx1ln3 жыл бұрын

    This is very good, I watch it three times to learn every point

  • @druvak
    @druvak3 жыл бұрын

    This talk was a thing of beauty. Well done.

  • @park2348190
    @park23481902 жыл бұрын

    didn't know #10. thanks!

  • @rakshitsoni851
    @rakshitsoni8513 жыл бұрын

    Amazing tutorial

  • @alekseykonovalik5965
    @alekseykonovalik59657 жыл бұрын

    Awesome video! I was thinking about the ?.let thingy, now i understand why it is preferred way to work with Kotlin's volatile var variables, instead of if (var != null), i would put several likes if i could.

  • @felipepereira3061

    @felipepereira3061

    5 жыл бұрын

    Good to u if u onderstood the concepts...lol

  • @turastory
    @turastory6 жыл бұрын

    In my case, annotation for deprecation sounds fairly useful!!

  • @azizbekrasulmetov9293

    @azizbekrasulmetov9293

    Жыл бұрын

    when can we use it? Why one would need it? I coulnt get it.

  • @turastory

    @turastory

    Жыл бұрын

    Well, it's fairly old one so I couldn't remember what I thought back then but here are some use cases I think.. 1. Library authors - definitely the changes in the library that might not compatible with the older ones should be noted before the changes were made. Many parts of Android framework uses deprecation annotations, for instance. 2. Large codebase where the author of the code is different from the user of the code. It is similar to the first one.

  • @punerealestatebuilder
    @punerealestatebuilder2 жыл бұрын

    Even after 4 years of this video, I can bet that 99% of the Android developer do not know about all 10 things. Even I am working in Kotlin since 2018 and I did not know 4 things from this video.

  • @IUfidi
    @IUfidi2 жыл бұрын

    butterknife: I'm following u.

  • @user-mt2mc7dj8z
    @user-mt2mc7dj8z2 жыл бұрын

    I am also interested in how he design the slide. It is very concise and intuitivr.

  • @rajushingadiya2860
    @rajushingadiya28602 жыл бұрын

    today you made me fan of yours ..... it's really really useful thing's man i am going subscribe now with bell icon and also like your all videos keep making content like this ... anyway i am Android developer and i want to learn advanced Android like .....Cred app ... guide me how can i archive performance like Cred

  • @lycheejuicelichigaming2263
    @lycheejuicelichigaming22634 жыл бұрын

    13:40 its actually measureNanoTime{}

  • @samha1513
    @samha15135 жыл бұрын

    So nervous 😳

  • @lennysmileyface
    @lennysmileyface5 жыл бұрын

    Wait, if you wanted to access name like user.name instead of getters why not just make name public?

  • @tom01b

    @tom01b

    5 жыл бұрын

    ( ͡° ͜ʖ ͡°) property access still uses the mutators and accessors (whether they be manually defined or auto generated)

  • @illusion9423

    @illusion9423

    2 жыл бұрын

    If anyone else sees this. It's because attributes have a thing called properties that you can use to remake a getter or a setter. You can also use it to make the setter private. Those things are not in Java, hence with Java it's unsafe because later you might make your getters do something else besides returning the variable, but in Kotlin, because you can always change them with properties, it is safe

  • @hamuelagulto796
    @hamuelagulto7963 жыл бұрын

    THAT'S 20 ISH MINUTES!!#!#+#(#(#(#

  • @ZelenoJabko
    @ZelenoJabko3 жыл бұрын

    7 out of these 10 things are literally stolen from Scala. Kotlin is cheap Scala clone.

  • @teenriot-de
    @teenriot-de4 жыл бұрын

    I dont watched the whole vid since you don't show "T R I C K S" you just repeat kotlin idioms, so you do clickbaiting. Shame on you.

Келесі