7 Features in Kotlin's Standard Library that You Might Have Overlooked

Поділитися
Вставка
  • Опубліковано 21 січ 2025

КОМЕНТАРІ • 33

  • @DaleHawkins
    @DaleHawkins 6 місяців тому +7

    Thanks!

    • @typealias
      @typealias  6 місяців тому +4

      Hey, awesome - thanks so much, Dale! This is the very first Super Thanks on this channel! ✨🎉😁🙏

  • @F776-b2s
    @F776-b2s 6 днів тому

    I'm mindblown. Excellent content as always, I've learnt a lot from you

  • @osisuper98
    @osisuper98 6 місяців тому +2

    This right here is gold, Dave. You are awesome!

  • @smreha
    @smreha 6 місяців тому +20

    The observer delegates are a godsend.

    • @TimSchraepen
      @TimSchraepen 6 місяців тому +4

      Are they mostly used in frontend frameworks? Like android or compose?
      Would love to see some use cases for backend development too.
      Maybe some caching implementations?

    • @pnavais
      @pnavais 6 місяців тому +1

      Dave and his channel are the actual godsend

    • @HoussamElbadissi
      @HoussamElbadissi 5 місяців тому +1

      @@TimSchraepen Probably not much, and they're probably not that popular, never seen them used in an Android app, I was quite surprised that this was built-in!

  • @guyguy467
    @guyguy467 6 місяців тому +8

    Very nice. Thanks for sharing.

    • @typealias
      @typealias  6 місяців тому +3

      Thanks so much, Guy!

  • @damercy
    @damercy 6 місяців тому

    I just want to say, thank you for these videos. Really love your clear, concise explanation. Keep posting!

    • @typealias
      @typealias  6 місяців тому +1

      Thank you! I'm so glad you've been enjoying them. I'll keep at it!

  • @fahim.m.choudhury
    @fahim.m.choudhury 6 місяців тому +1

    Very useful tips, thanks Dave! I so often find myself using mutableList and manual null checks. No more doing these from now on!

    • @typealias
      @typealias  6 місяців тому +1

      You're most welcome, Fahim! I'm so glad you found it helpful!

  • @QuantuMGriD
    @QuantuMGriD 6 місяців тому +8

    Can we see about, all 23 design patterns from the gang of four some time in the future? 🙂 And more other design patterns that are lesser known but are awesome!? Looking forward ❤

    • @typealias
      @typealias  6 місяців тому +14

      Thanks for the recommendation! I'll add this to the list of ideas for videos! I've had a lot of people asking about design patterns and principles, so I'd say there's a good chance I'll get to them!

    • @QuantuMGriD
      @QuantuMGriD 6 місяців тому +2

      Awesome 🎉 Thankyou for the consideration! 😊

    • @smreha
      @smreha 6 місяців тому +2

      ​@@typealias looking forward to it. 👀😁

  • @Alchemist10241
    @Alchemist10241 6 місяців тому +2

    this video was extremely informative an useful.
    please make a deep dive video about delegates if you haven't made one already.

    • @typealias
      @typealias  6 місяців тому +2

      Thanks so much! I'll add that to the list of future video topics. I actually had done a video that showcased property delegates a while back, using Android's shared preferences (Shared Preferences has since been deprecated in favor of DataStore). You might still enjoy watching it just to see how delegates work, though: ua-cam.com/video/KFgb6l1PUJI/v-deo.html

  • @TiagoDvl
    @TiagoDvl 6 місяців тому

    Amazing work, man. Thank you!

  • @vyrus507
    @vyrus507 6 місяців тому +1

    what is the website link at 9:00

    • @typealias
      @typealias  6 місяців тому +2

      You can find it here: kotlinlang.org/api/core/kotlin-stdlib/kotlin.io.encoding/encoding-with.html

    • @vyrus507
      @vyrus507 6 місяців тому

      @@typealias thanks very much ! awesome vids

  • @enos1010
    @enos1010 6 місяців тому

    This channel is amazing

  • @Snirokok
    @Snirokok 6 місяців тому

    I dont understand why I need to remember that lazy is located separately from other standard Delegates. Really inspiring video.

  • @IncompleteTheory
    @IncompleteTheory 6 місяців тому

    Quite the undersubbed channel - thanks for sharing!

  • @ulicqueldromal
    @ulicqueldromal 6 місяців тому

    Funfact, the default immutable list behaves different depending on the target due to compatibility. On Java you can cast it to mutable but mutation throws and exception, as per the java.util.List docs. On Javascript you can cast and modify it because Javascript doesn't have a concept of immutable list.

    • @typealias
      @typealias  6 місяців тому

      Ah, that's good to know! I hadn't tried that out on JavaScript. Thanks for sharing!

  • @sanlegaYT
    @sanlegaYT 6 місяців тому +3

    I thought this was C's stdlib

    • @typealias
      @typealias  6 місяців тому +5

      Aw, haha - that would certainly be quite confusing! 😅 I'll make sure we've got the word "Kotlin" in the title!