Iterator pattern explained - Brain Bytes (Java Brains)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • In this video, I'll tell you a story of an old man in a village, and before you know it, you'll learn what an iterator pattern is in software development!
    Learn how the core pattern behind iterators work in languages like Java and JavaScript.
    Java Brains website: javabrains.io
    #JavaBrains #BrainBytes #WhatIs #Java #Tutorial #Concept

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

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

    Using story telling to explain a pattern is just awesome!

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

      @@yapadqoi what'd he say.... curious 100 100

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

      Oh i see, he was kicked out from TH-cam. He was advertising a tool for hacking Instagram accounts

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

    the old man said: next!!
    but there was no more people in the queue, so the boy hit the old man in his head with a bat and they had to star over.
    For the next time the old man asked: has next?
    and he never gets a hit anymore.

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

    Hey Koushik,
    Your videos have made me learn so many good stuffs since early years of my career. Looking at you I started my own youtube channel and today I am an Udemy instructor and TH-cam creator. Thanks for everything !!!
    Regards,
    Dinesh Varyani

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

    Wow..my greatest mystery solved. U make Java look beautiful by simlifying it ..😍ty

  • @anandsingh-pw6mm
    @anandsingh-pw6mm 3 ปีที่แล้ว +1

    this is the best explanation video I found on this channel in years...

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

    Watching your videos is no less interesting than watching movies... Thank you Koushik for these beautiful contents.

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

    I see the great effort behind the screen to compile and narrate this awesome presentation. Take a bow master 🙏

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

    Other patterns please :D. Bravo.

  • @karthik.karunanithi
    @karthik.karunanithi 3 ปีที่แล้ว

    Oh man ,how simple.You are from another planet !

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

    Wow, what a great teacher you are..
    Telling a story to explain a concept and putting it in context ..awesome👍..waiting for dependency injection..

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

    The much-awaited pattern videos are here! Yayy 😍

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

    Can't wait for the dependency injection video 👏

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

      Hi, Are you still working on it?

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

    Your channel is skyrocketing for sure.., subscribed with that jwt spring video and spring security. They are really clean and easy to go thru..

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

    Amazing video. Please post more.videos

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

    Could you please make videos of Gof design patterns? You are gifted soul, and you have spread your knowledge freely. Thanks a lot, for your free will to help others

  • @milicamisic4011
    @milicamisic4011 9 หลายเดือนก่อน

    amazing video, thank you!

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

    As usual a very well explained concept using story 👍. Only you can do this.

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

    Dear JavaBrains, thank you for providing quality content on TH-cam, I could complete SpringBoot tutorial of yours with in 3 straight days and because of that I could answer better in the Interview and even able to clear it around 1 year back. Keep up the good work and keep giving it back to the society by educating people like us.

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

    I love this guys, He really loves to teach!

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

    you got me as a sub man, that was a great explanation

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

    Very good video!

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

    Awesome Sir loved it

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

    Your style of explaining is great.👍

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

    Superb

  • @ankitkumar-mv9bw
    @ankitkumar-mv9bw 3 ปีที่แล้ว

    I would say the way you create videos which covers a whole course is much better that the short topic videos. I have seen your talk with Navin Reddy, the whole idea of that video was to get the insight of how he is getting views by doing stuffs on youtube. I would suggest that be different from others because success takes time, and please make videos the way you were making earlier.
    All the best for future.

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

    Awesome 😍

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

    Nice... Awesome...Great explanation

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

    Brilliant analogy as always. Thank you

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

    Thank u Kaushik for this video. It will be very helpful if u create a playlist for design pattern.

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

    Dear Sir, Please create a video explaining your editing tools .. thanks a lot for all of your contribution!!!

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

    Thanks-- great story telling skills! Love it.

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

    Please make a design pattern series..

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

    Its really great!!! loved it :)

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

    Hi Kaushik, We want a full course on Java Design Patterns.Please make it.Even if its for exclusive content, that too will be Ok.But please make it.

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

    Please make similar story videos for all Java GOF Patterns....

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

    Please continue design patterns

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

    Would be great if you can make a series of video dedicated to DPs..awesome video btw

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

    Really nice explanation!

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

    Wow ❤️❤️❤️❤️

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

    If the intro music is what you made, kudos mate!!

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

    Nice ...✌✌✌

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

    He Kaushik, thanks for wonderful videos. You are really helping me understand all the techno concepts. Do you have any video on microservices design patterns? I was going through some of the available materials on internet but not really helping me. Please let me know if you have any such video available

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

    When the DI pattern will come...eagrly waiting for it...

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

    Ok but does it turn the get() function for a linked list into the get() of an array list?

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

    why no captions...

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

    Hi Kaushik,
    Thanks for the video,
    Could you please upload a video on Java SAP Hybris (If possible)?

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

    Hi sir , Please make video on Spring microservercises level 4 with AWS ,

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

    Can we get playlist of all types of Design Patterns??

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

    i would love to have a video from you , explaning data type and its memory consumption like int vs long vs double vs float . what confuses me is how to connect these variable declaration with xmx we provide . also why there is restriction on length ?

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

    Please provide other design pattern

  • @WiMaiRi
    @WiMaiRi 7 หลายเดือนก่อน

    I have a system... A standard protagonist starting pack, not bad grandpa >,>

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

    I am confused, i thought its a strategy pattern. Because collection lets the implementer manage the behaviour of iterator. Good video though. I might be wrong

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

    Is Set just ordered collection? Nevertheless good explanation

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

    Add subtitles pleaaaaaaase !

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

    Imagine the boy gets sick.

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

    Good to see the video from you...

  • @monsterhuntergo
    @monsterhuntergo 2 ปีที่แล้ว +1

    Hi Koushik, I love your videos and it helped me alot to get full grasp of concepts.. Do you have playlist of complete Java Design patterns pls? Thanks so much.

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

    Brilliant explanation! Quick question - should we still use iterator pattern now that we have streams? I am not sure if stream uses iterator as underlying mechanism. Thank you!

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

    Awesome video!! Great content!!! Thanks !!

  • @VinothKumar-zl2ht
    @VinothKumar-zl2ht ปีที่แล้ว

    can some one tell me what is the plan of the boy, am not getting. is every one should come in 4 min time delay.

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

    Please make videos on other design patterns

  • @user-xb7rh1sd4f
    @user-xb7rh1sd4f 2 ปีที่แล้ว

    Thanks for the easy resemblance story

  • @PriyankaKumari-br1gc
    @PriyankaKumari-br1gc ปีที่แล้ว

    love this ! very easy

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

    Hey Koushik , What's ur advice to a NON-CSE guy to learn more after spending 4yr in IT industry developing applications using (Java,Spring,Rest & M/S) ?

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

    Brilliant explanation!
    Respect ++ SIR !

  • @MahadiHasan-qb9zw
    @MahadiHasan-qb9zw 3 ปีที่แล้ว

    Can you please make tutorials for how to generate BIRT report in spring boot ?

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

    Please make a tutorial on spring batch

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

    Thank you for this kind of explanation. I hope you do all the other design patterns

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

    Very nicely explained. Great job sir!

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

    Your way of picking up analogy is too good....👍

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

    Putting it into a story makes it SO much easier to understand (and focus on). Thanks!

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

    Clear , informative , to the point !! Awesome content as always

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

    Waiting for all other patterns now :)

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

    Happy to see you my friend. How are you?

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

    Which MacBook developer should take Air or Pro and with 8gb or 16gb ram?

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

      Today's developer should take at least 16go ram, pc or macbook.

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

    Dont you just love how amazig Java is

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

    4 ads huh

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

    Why not just use a for loop?

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

      Hello, as the video said, the iterator pattern doesn't relay on the the implementation wich is not the case of a for loop... Remember the changement was transparent for the old man, it wouldn't in a case of a for loop..