10 Kotlin Tricks in 10 ish minutes by Jake Wharton

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 37

  • @ErsinErtan
    @ErsinErtan 7 років тому +94

    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 6 років тому

      thanks +Ersin Ertan

    • @theapache64
      @theapache64 6 років тому

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

    • @ayudakov
      @ayudakov 5 років тому

      Thank you!

    • @holdenwilder4506
      @holdenwilder4506 3 роки тому

      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 3 роки тому

      @@holdenwilder4506 k

  • @gregoryphiri5724
    @gregoryphiri5724 2 роки тому +6

    Years later and still informative, thanks a lot.

  • @karolmierzejewski1392
    @karolmierzejewski1392 7 років тому +34

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

  • @SulaimanRafiq
    @SulaimanRafiq 2 роки тому +1

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

  • @danny117hd
    @danny117hd 4 роки тому

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

  • @turastory
    @turastory 6 років тому +12

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

    • @azizbekrasulmetov9293
      @azizbekrasulmetov9293 2 роки тому

      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.

  • @alekseykonovalik5965
    @alekseykonovalik5965 7 років тому +5

    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.

  • @Ben-wx1ln
    @Ben-wx1ln 3 роки тому

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

  • @hasnainabbasdilawar8832
    @hasnainabbasdilawar8832 5 років тому +15

    All hail lord Jake Wharton!

  • @ジェイソン-l5r
    @ジェイソン-l5r 2 роки тому

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

  • @druvak
    @druvak 4 роки тому +1

    This talk was a thing of beauty. Well done.

  • @ladimerelyeh7082
    @ladimerelyeh7082 6 років тому +3

    Excellent video. Well done.

  • @park2348190
    @park2348190 2 роки тому

    didn't know #10. thanks!

  • @punerealestatebuilder
    @punerealestatebuilder 3 роки тому +1

    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.

  • @lycheejuicelichigaming2263
    @lycheejuicelichigaming2263 4 роки тому

    13:40 its actually measureNanoTime{}

  •  7 років тому +2

    Great tricks! thanks Jake.

  • @rajushingadiya2860
    @rajushingadiya2860 2 роки тому

    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

  • @rakshitsoni851
    @rakshitsoni851 4 роки тому

    Amazing tutorial

  • @IUfidi
    @IUfidi 2 роки тому

    butterknife: I'm following u.

  • @lennysmileyface
    @lennysmileyface 5 років тому

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

    • @tom01b
      @tom01b 5 років тому +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

  • @samha1513
    @samha1513 5 років тому

    So nervous 😳

  • @hamuelagulto796
    @hamuelagulto796 3 роки тому

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

  • @ZelenoJabko
    @ZelenoJabko 3 роки тому

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

  • @teenriot-de
    @teenriot-de 5 років тому +1

    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.