Kotlin Collections Overview

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 43

  • @thanosfisherman
    @thanosfisherman 3 ปีที่แล้ว +17

    Guys this channel is slowly becoming my favorite TH-cam Channel. Keep it up.

    • @Kotlin
      @Kotlin  3 ปีที่แล้ว

      Good to hear!

  • @matheusriblima
    @matheusriblima 3 ปีที่แล้ว +27

    What amazing series! Great content, always with humor and straight to the point. Keep going guys.

    • @Kotlin
      @Kotlin  3 ปีที่แล้ว +2

      Happy to hear that you liked it!

  • @stateweapon
    @stateweapon 8 หลายเดือนก่อน

    what an amazing thing if each programming language have a channel like this

  • @CommanderSteps
    @CommanderSteps 3 ปีที่แล้ว +1

    Documentation for Kotlin is so good, this is a big plus. Keep making those videos. :)

  • @vitaliiplagov
    @vitaliiplagov 3 ปีที่แล้ว

    I like this series of videos. I like that not just basics are explained but also some advanced things. Looking forward to the next episode to find out more about advanced functions in KOtlin Collection's framework.

  • @donnguyen5164
    @donnguyen5164 3 ปีที่แล้ว

    Exactly the information I wanted to learn. Perfect pace. Interesting and entertaining. Thanks for the video!

  • @JolanRensen
    @JolanRensen 3 ปีที่แล้ว +3

    Did not know about partition! Cool!

    • @vitdemidenko
      @vitdemidenko 3 ปีที่แล้ว +1

      S(h)ame

    • @CommanderSteps
      @CommanderSteps 3 ปีที่แล้ว

      Same here. So I'm glad I watched this. :)

  • @luckyspiff
    @luckyspiff 3 ปีที่แล้ว

    Great series! Can't wait for the next episode. Hopefully soon... ;)

  • @rungxanh2901
    @rungxanh2901 3 ปีที่แล้ว

    I loved Swift but now with this episode, I love Kotlin too 😊

  • @loremipsum5165
    @loremipsum5165 3 ปีที่แล้ว

    SumOf returning a pair of sum and the original value (or mapping result) would have been great addition to the existing extensions. Even better if it would have looked like a common function that might've allow to choose both, aggregation and transformation function.

  • @emanessam3892
    @emanessam3892 2 ปีที่แล้ว

    Thank you , great content, i need data structure course in kotlin any recommendations?

  • @SiarheiAkhramenia
    @SiarheiAkhramenia 3 ปีที่แล้ว +2

    Beautiful format, though there was no word about default implementations and covariance of immutables.

  • @behnamkhani3721
    @behnamkhani3721 3 ปีที่แล้ว

    Thanks Sebastian!

  • @alextroy605
    @alextroy605 10 หลายเดือนก่อน

    Really Amazing conent! Like Koltin dev with 5 years dev? really cool lections in 12 minuts!!

  • @desertfish74
    @desertfish74 3 ปีที่แล้ว

    I love the aces !!

  • @ravisahu3301
    @ravisahu3301 ปีที่แล้ว

    wow totally mind blowing what string HOF can do

  • @khaledabdessamed8612
    @khaledabdessamed8612 2 ปีที่แล้ว

    Amazing😍

  • @Dmitrii.Izmirov
    @Dmitrii.Izmirov 3 ปีที่แล้ว

    Thanks for video, how can I switch to the mode what you showed in IDE?

  • @fabricioaraujo7642
    @fabricioaraujo7642 3 ปีที่แล้ว +1

    Thnaks for content :)

    • @Kotlin
      @Kotlin  3 ปีที่แล้ว

      You are welcome!

  • @loley2571
    @loley2571 3 ปีที่แล้ว +1

    Thanks so much

    • @Kotlin
      @Kotlin  3 ปีที่แล้ว +1

      You are welcome!

  • @ucheumeh7357
    @ucheumeh7357 3 ปีที่แล้ว +1

    Insightful

  • @imnithish
    @imnithish 3 ปีที่แล้ว +1

    didn't knew about partition

    • @Kotlin
      @Kotlin  3 ปีที่แล้ว +2

      It is always cool to learn something new

  • @Alberto_Cavalcante
    @Alberto_Cavalcante 3 ปีที่แล้ว

    Nice content!!

  • @petersteel7735
    @petersteel7735 3 ปีที่แล้ว

    can you explain plz what is the difference of someCollection.map { } vs someCollection.map() . I have seen it with other extension functions other than map and It is not clear to me. Thank you.

    • @myryinae9884
      @myryinae9884 3 ปีที่แล้ว +5

      In Kotlin if the last argument to a function, is a function itself, you can pull the lambda outside of the parentheses (purely for convenience).
      So:
      list.map( {it * 2} ) is the same as list.map { it * 2} because map takes a function as its last (and only) parameter.
      Furthermore, if a function takes two arguments but the last one is a function, the following two are equivalent:
      takesTwoArgs(argument1, { it *2})
      takesTwoArgs (argument1) { it*2 }

    • @rahhi9792
      @rahhi9792 3 ปีที่แล้ว +1

      trailing lambdas

    • @petersteel7735
      @petersteel7735 3 ปีที่แล้ว

      Thank you very much, your explanation solved my confusion.

  • @RomanDawydkin
    @RomanDawydkin 3 ปีที่แล้ว

    Side question: What font do you use? :)

    • @sebastianaigner9125
      @sebastianaigner9125 3 ปีที่แล้ว +1

      Usually (and, IIRC in previous episodes as well), JetBrains Mono - but I needed a bit of a more condensed font to fit inlay hints, code, and results into the square window in this episode, so I'm using Iosevka here! :)

    • @RomanDawydkin
      @RomanDawydkin 3 ปีที่แล้ว

      @@sebastianaigner9125 Oh, I see. It's just a newer version that looks a little different than the one I used.

    • @desertfish74
      @desertfish74 3 ปีที่แล้ว

      @@sebastianaigner9125 iosevka has been my favorite for a few years now too , I use it everywhere as monospaced font!

  • @pixelPlex
    @pixelPlex 3 ปีที่แล้ว

    Isn't Array a collection, and if not why?

  • @谢朋刚
    @谢朋刚 3 ปีที่แล้ว

    you didn't say "take care" at the end

  • @xiao2634
    @xiao2634 2 ปีที่แล้ว

    Kotlin lacks the "Queue" data structure! Kotlin's ArrayDeque is indexed like a List, causing a runtime penalty when you poll from the front. This is different from Java's ArrayDeque which is not indexed and is a true Deque. Using Kotlin's ArrayDeque as a Queue or Deque will make your program slow. It should be called IndexedArrayDeque. Please add a True Deque implementation in Kotlin!

  • @hiteshbitscs
    @hiteshbitscs 2 ปีที่แล้ว

    Nice content.. 12 mins actually equivalent of 1 hour of stuff.... dude go bit slow....