Object Oriented JavaScript Tutorial #11 - Prototype Inheritance

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

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

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

    My brain hurts but honestly, I understood. You are the only person on the planet that can do this so eloquently. ♥

  • @boggyice
    @boggyice 6 ปีที่แล้ว +214

    Yes Shaun, please extend it. Thank you

    • @cupok123
      @cupok123 6 ปีที่แล้ว +6

      Yes, Shaun, please!

    • @Megastaru
      @Megastaru 6 ปีที่แล้ว +6

      Please Shaun. All the gang begging you.

    • @byailen
      @byailen 6 ปีที่แล้ว +2

      please Shaun!

    • @danieljohns1318
      @danieljohns1318 6 ปีที่แล้ว +8

      YES! A real world example would be awesome!

    • @johnmcdonald6100
      @johnmcdonald6100 6 ปีที่แล้ว +5

      alert("agreed!")

  • @kayderl
    @kayderl 2 ปีที่แล้ว +9

    3 years since this series was released and here I am watching it. Please extend Shaun, would love to see it.

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

    This dude is a natural born teacher.....he made me loveeeeeee code - javascript....❤❤❤, thank you Shawn

  • @lunasoleil2827
    @lunasoleil2827 2 ปีที่แล้ว +5

    I just started this series and did not notice that its the last video. Your flow is amazing. I did not get bored or impatient even once. Thank you.

  • @Cho1279624
    @Cho1279624 6 ปีที่แล้ว +41

    I like your expression, ‘under the hood’. I am closer to understanding what’s going on under the hood with Prototype. Thank you so much!

    • @s.akhtarjoomun263
      @s.akhtarjoomun263 3 ปีที่แล้ว +1

      I think I've just become a Mechanic! And I still have work to do to become a Ninja.

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

      @@s.akhtarjoomun263 So, how is it going?

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

    OOJS became way more clear! Thank you for putting your time and truly best effort to make such a complicated concept more clear to all of us.

  • @onlineuniversity3718
    @onlineuniversity3718 5 ปีที่แล้ว +29

    Watching after year, still look relevant. Thanks for all your time and contribution in teaching. You are awesome !
    Yes, please extend this series.

  • @justincantley9705
    @justincantley9705 6 ปีที่แล้ว +15

    I would love to see you extend on this. You have a very practical and clear way of communicating these concepts.

  • @jimmaccormaic6689
    @jimmaccormaic6689 6 ปีที่แล้ว +4

    This series is by far the best I've watched for explaining OO JS. Thank you very much.

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

    It's a pleasure learning from you. You may not realize how your pieces of training impacting many of us positively. Keep on the good work. Thanks.

  • @sanjayplays5010
    @sanjayplays5010 6 ปีที่แล้ว +51

    Another fantastic series! I'm with the rest of the gang, some real world applications would be a great addition to this :)

  • @carltongordon
    @carltongordon 6 ปีที่แล้ว +26

    yes please!!!!!!!!!!!!!!!!!!!! we need more!!!!!! i'm enjoying this so much you have no idea

  • @nikhilpatil9654
    @nikhilpatil9654 5 ปีที่แล้ว +2

    Probably the best tutorial of Prototype Inheritance in the earth, If you are following whole lecture series.

    • @NetNinja
      @NetNinja  5 ปีที่แล้ว

      Thanks so much!

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

    Thank you for this very complete set of videos !

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

      You're very welcome! :) thanks for your support Guillaume, it means a lot.

  • @georgepickett7210
    @georgepickett7210 4 ปีที่แล้ว +1

    Just repeating what everyone else is saying. Best tutorials I've found on youtube. Insanely clear, I started with your socket.io series and was blown away. I could easily use the library after that. Then I went through the node.js series. I'd stumbled on basic node/express concepts for years, totally cleared a lot of stuff up. And now with prototypes, I have such a greater understanding. So much gratitude, thanks!

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว

      Thanks George :)

  • @danmiller7709
    @danmiller7709 4 ปีที่แล้ว

    I stared at an example in a book I have for a long time, trying to figure out why the 'this' keyword was in my call() method. I pulled up this playlist. And you explained it beautifully in this last video, this is EXACTLY how my brain works and it helps so much to have someone talk through it this way. I'm glad I went through the series. Bravo!

  • @evakuator8118
    @evakuator8118 6 ปีที่แล้ว +2

    That is one of the best explanation of prototypes out there in TH-cam. Man, you are great. Keep doing quality shit like that.

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

    Thank you so so much. Best explanation of OOP I've ever watched OR read. You're the GOAT of TH-cam tutors, IMO.

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

    I've been doing The Odin Project and Eloquent Javascript. Sometimes I bit overwhelmed by some explanations. The 'this', rest parameter, constructor function, class instances, all of that good stuff you have made it soo much easier to understand. After watching all of your video series everything makes sense. Thank you for your simple explanations. you are a great mentor!

  • @godintheshell
    @godintheshell 5 ปีที่แล้ว

    This is the BEST tutorial video about JS prototype inheritance.
    I have been struggling for 2 days with the concept, and this saved my life.
    Thank u ser, u truly deserve a medal

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

    Damn I have watch all 11 videos , you teach as crystal clear ( what , how , why , when ( you left no Q to ask )) and can understand every bit you say , thanks , you save my day ,

  • @surajitdas94
    @surajitdas94 5 ปีที่แล้ว +4

    Just Awesome..!! you totally nailed it. I've seen thousands of videos from various developers, but I've to tell you, this is the BEST. I've been following your videos from last 1.5 years. This is the best series I think. Nicely explained.
    Thanks for your precious time, I really appreciate it. Love from India. May God bless you sir.

    • @NetNinja
      @NetNinja  5 ปีที่แล้ว +1

      Thank you so much!

  • @benhancock4712
    @benhancock4712 6 ปีที่แล้ว +5

    Fantastic series. It was all explained very well. I really like the idea of more series focusing more on the fundamentals of javascript like this. I feel that so often these days people just jump straight into frameworks without actually understanding the core aspects of a language. Knowing all of this information about how classes and prototypes actually work is going to be incredibly helpful going forward as I continue to develop my skills in react/vue and node.

  • @1111ah
    @1111ah 6 ปีที่แล้ว

    These topics have confused me for months, and you have explained it better than anyone else I've seen. Might have to go through the last couple of videos again, but I pretty much now understand it. I really enjoyed this series... Cheers!!!

  • @arielmacariola1996
    @arielmacariola1996 5 ปีที่แล้ว +1

    Hey Shaun, thanks for doing a great work for all the Ninjas out there. Please extend the series. You are such a blessing. Thanks!

  • @Eight_P
    @Eight_P 6 ปีที่แล้ว +16

    really enjoyed this series.
    Would be really cool to continue and see these saved to a database.

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

    I've avoided OOP and classes in JS like the plague for a year now. Thanks man. This really helped

  • @reinelic
    @reinelic 6 ปีที่แล้ว +2

    As always, Shaun never disappoint! Please extend the series and Thanks a million.;

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

    If I could have liked this another 20 times I would have. I watched another 4 or 5 videos on prototypes and this video along with tutorial #10 were the only ones that actually made it clear for me. Thanks ninja.

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

    Another great series Shaun. Many thanks for all your hard work.

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

    Possibly the best online tutorial I have come across. Thank you so much!

  • @uzairkhan8953
    @uzairkhan8953 4 ปีที่แล้ว +1

    Very helpful material and well explained. Finally, I can understand javascript more closely rather than people just teaching the variables and operators. I would like you to extend this into more depth and a complicated use case scenario. Thank you so much for providing this material.

  • @ifailu1
    @ifailu1 5 ปีที่แล้ว

    I am in a fullStack bootcamp and I want to let you know that your teaching style and pace is engaging and very effective. You've helped me to solidify concepts I am being exposed to and I'm so appreciative. Bravo. More Javascript OOPs please.

    • @NetNinja
      @NetNinja  5 ปีที่แล้ว

      Thanks so much :)

  • @danielFM212
    @danielFM212 6 ปีที่แล้ว +1

    Your JavaScript series ROCKS!!!
    really well explained and direct to the point!
    thanks bro

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

    *waits patiently for Shaun to extend the series*
    Thank you Shaun, I learned so much through these courses, gotta hop on the Udemy train !

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

    Watched the whole series twice now. Very clear explanation, thank you!

  • @SUR-MEDIA-xc2cd
    @SUR-MEDIA-xc2cd 11 หลายเดือนก่อน

    Prototypes were a bit tough but thanks to you I understood it, extending this series might help us a bit more, but that's up to you and even if you don't extend it that's also fine because this series covered all the basics and gave us a full fledge concept. Thank you very much for your kindness, wishing you all the best and the path of eternity

  • @kengresify
    @kengresify 6 ปีที่แล้ว

    More... definitely. This is by far the best javascript classes tutorial ever...

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

    Really great stuff! You explained and demonstrated these concepts in the simplest way possible which is hard to do when it comes to complex stuff.

  • @annamotsikula
    @annamotsikula 4 ปีที่แล้ว

    Thank youu!!!!! Before watching these 11 videos, I'd been so lost in Object Oriented JS. Now it's so clear. Thankyou

  • @hakunamata_tuh
    @hakunamata_tuh 6 ปีที่แล้ว +6

    Enjoying these series so far, keep the ninja coming!

  • @johnconnor9787
    @johnconnor9787 6 ปีที่แล้ว +2

    Yes, please, extend these series and show a real life example. This tutorial is great

  • @zainsyed9811
    @zainsyed9811 6 ปีที่แล้ว +2

    Thanks for the great course Ninja!!
    For anyone extending there are 3 different ways of extending the User class:
    //Admin.prototype.__proto__ = User.prototype; (this is not recommended)
    //Admin.prototype = Object.create(User.prototype);
    Object.setPrototypeOf(Admin.prototype, User.prototype);
    I prefer the last method as I can define it even AFTER I have added methods to the Admin.prototype object as it doesn't create a new prototype object but rather just repoints the __proto__ property of the existing Animal prototype object to the User prototype object.
    So one thing to bear in mind is that if you use:
    Admin.prototype = Object.create(User.prototype);
    Make sure you define the Animal prototype methods AFTER the above line not before.

  • @LewisVine
    @LewisVine 6 ปีที่แล้ว

    The first videos in this series were a good review, but by the end I was nerding out with some cool, new-to-me, stuff. Thanks Shaun, you rock!

  • @IoTRepublic
    @IoTRepublic 4 ปีที่แล้ว

    I saw 3 of your video series (so far today ... just in 12 hours) which are essentially out of the box! However, all I can say to you ... THANKS from my heart. I can't stop/pause a series once I have started. THANKS AGAIN -- #The_Net_Ninja.

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

    Best and most practical explanation on prototypal inheritance. Great job.

  • @niepamietam2142
    @niepamietam2142 5 ปีที่แล้ว +18

    Holy shit man I just got this 'Aha!' moment, thanks.

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

      Haha awesome! 😁😁

  • @abdulhadilababidi8052
    @abdulhadilababidi8052 6 ปีที่แล้ว +12

    You are great teacher
    That was awesome
    I love it
    Thank alot

    • @NetNinja
      @NetNinja  6 ปีที่แล้ว

      Thank you :)

  • @vishalsathiaseelan679
    @vishalsathiaseelan679 4 ปีที่แล้ว

    I have watched all 11 of them. It was fantastic. You are the BEST!

  • @amazingshortvideos9922
    @amazingshortvideos9922 4 ปีที่แล้ว +1

    The explanation is really awesome. Before that I have Learnt object oriented concept in python but this series explained everything what we use daily because nowadays every language is based OOPS.

  • @aneidlin
    @aneidlin 6 ปีที่แล้ว +5

    Please, extend the series with practical examples! This has been so informative, but I'm struggling with how I'd use it in a project. Thank you for your videos!

  • @H3000-v7i
    @H3000-v7i 6 ปีที่แล้ว

    I think maybe first explaining:
    function Admin(email, name){
    User.call(this, email, name)
    }
    then:
    function Admin(...args){
    User.apply(this, args)
    }
    might make it easier to grasp for somebody.
    That beeing said... you're by far my favorite js tutor Shaun!! :D

  • @shreeduttdixit4902
    @shreeduttdixit4902 4 ปีที่แล้ว

    Literally Shaun days spend with your JS series gave a best understanding and were the best days

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

    I really enjoy your tutorial about object-oriented in JavaScript mate. Thank you so much for this complete and wonderful tutorial.👏👏

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

      Glad you enjoyed it! :) that means a lot

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

    Cheers mate, you explain things really well. Its really good how you reiterate the more complicated parts like when you explained the new Admin 'this' context being passed. Going over it again definitely helps it to make sense.

  • @jeremieinjapan
    @jeremieinjapan 4 ปีที่แล้ว

    Binged this today, and now I'm looking at this so clearly. Great teacher, thank you!

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

    Great series... learned everything about class, constructor, prototype and prototype constructor. Thanks man!! really appreciate

  • @shrestha0144
    @shrestha0144 5 ปีที่แล้ว +1

    I loved these. Thank you very much. You Sir, are a great teacher......I reallly realllly reallllyyyy appreciated this

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

    thankyou so much for putting effort into explaining things.......i have been struggling with prototypes and classes concepts and ur teachings clears my doubts and helped me understand the concepts!!!very well done. Also an extension on real world examples would be a great add on to this series!!!!got urself a subscriber......lots of love and admiration from India😉

  • @stephh4392
    @stephh4392 6 ปีที่แล้ว

    I turned on notifications of your videos, they are so good, i am making progress because of your videos, thanks millions!!!!

  • @saiabhirambandhakavi1188
    @saiabhirambandhakavi1188 4 ปีที่แล้ว +1

    This is a good series. You explained Prototypes pretty well which is otherwise quite confusing to understand.

  • @seth4402
    @seth4402 6 ปีที่แล้ว

    Extend this series!! One of the best and most clear explanations.

  • @caput3115
    @caput3115 5 ปีที่แล้ว

    Just watched the whole series. Thank You Mr. Ninja. This just made me like Javascript a lot more.

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

    Excellent series! I'm studying for google interviews and this course was refreshing!

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

    after a lot of trouble with prototypes i learned that. thank's a lot my friend.

  • @SeeRjED
    @SeeRjED 4 ปีที่แล้ว

    I'm glad Dev Ed recommended your channel. I've been using your videos alongside his course and you're explanations are top notch! Repeating what I've learned really helped to clarify things, especially with object oriented JavaScript. Thanks you!

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว +2

      Thanks, glad you like :). DevEd has some great vids so I'm grateful he recommended me!

  • @nabanitadasgupta1061
    @nabanitadasgupta1061 4 ปีที่แล้ว

    First time I watched a video which explained why we are adding these steps while inheriting using prototype . You are good teacher. Keep it up . Please add a video on the prototypical chain till the root . Thank you !

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

    Thank you so much for these courses Shaun, I have watched a number of them and learnt a great deal!

  • @jj29180
    @jj29180 4 ปีที่แล้ว +2

    Amazing series, please keep doing this great work and please extend it. Thanks :)

  • @subash1934
    @subash1934 5 ปีที่แล้ว +1

    Crystal clear explanation...Thanks a lot man..!Expect more videos from you...❤️❤️

    • @NetNinja
      @NetNinja  5 ปีที่แล้ว +1

      Thanks so much 😀😀😀

  • @RonWaller
    @RonWaller 5 ปีที่แล้ว

    Thanks Shaun great series. It was nice to see how things worded "under the hood". From what I can see and let me know if i am wrong, but the Class "syntactic sugar" makes it easier to create new objects.Appreciate all the work that went into these videos.

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

    So stoked to have watched this video before my exam. Super concise and truly expanded my understanding of objects and class. Especially "this" haha. Would love to inspire the possibility of extending this series with more example. Thanks again!

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

      Thanks for the kind words and best of luck with your exam! :)

  • @nuno3180
    @nuno3180 5 ปีที่แล้ว

    You´re Amazing Man! I hope you have the recognition and reward for everything that you´ve shared all these years!

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

    Such an amazing approach to inject difficult concepts smoothly. Thumbs up!

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

      Glad you enjoyed it :) hope it was helpful

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

    Shaun, my favourite tutor .. greet from Slovakia

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

    Appreciate the clearness of how you explained this series. I learned a lot.

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

      Glad to hear that Ronnel. Thanks for the support :)

  • @juliusguevarra3729
    @juliusguevarra3729 6 ปีที่แล้ว

    Best tutorial that I have watched so far. Thanks for this!

  • @ahmetonur
    @ahmetonur 4 ปีที่แล้ว

    simple, organized, very useful and inspiring as always. Thanks mate .

  • @koustubhmuktibodh4901
    @koustubhmuktibodh4901 6 ปีที่แล้ว +2

    Very clear cut explanation !

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

    Wow, Great work. This series is the most amazing JS tutorials I've ever seen. Very Clear and easy to understand. Keep up the good work Bro. I've bought the Udemy course as well. :)

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

      Thanks Nishanka :) that means a lot

  • @adityapathak9442
    @adityapathak9442 4 ปีที่แล้ว +1

    This last lecture blew my mind. BTW, Thank you Mr. Shaun 😘

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

    You made it OOP so simple I was initially intimidated by it, thanks to this playlist its a breeze to me now ❣

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

      Awesome to know :) thanks for watching!

  • @Eupolemos
    @Eupolemos 6 ปีที่แล้ว

    This was a very, very useful series. I've seen tons of series like this, but a lot of stuff didn't click until now. Maybe I was just ready, or maybe you're really good. I hope you extend this playlist at some point. Cheers!

  • @juliap.5610
    @juliap.5610 4 ปีที่แล้ว

    Thank you so much! I can't believe I understand prototype now. You're such a great teacher :)

  • @maciejmyslinski7820
    @maciejmyslinski7820 4 ปีที่แล้ว

    Thanks Shaun for this series! Can't wait for extended version of this course! :)

  • @ecosunflower1892
    @ecosunflower1892 4 ปีที่แล้ว

    I really enjoy your videos! Helped me through my studies on Programming. I feel as I get most parts in a theoristic way, I don’t allways remember the syntax. But it’s ok I can go back in the tutorial and check 😀😀😀 YOU’RE awesome 😀😀😀

  • @raymondmichael4987
    @raymondmichael4987 6 ปีที่แล้ว +81

    Please, extend it with some sort of real world example & db included (nosql or whatever)

  • @liamharris2022
    @liamharris2022 6 ปีที่แล้ว +1

    Hi, just finished your vanilla Javascript tutorial and this. great work, by far some of the best videos on here.
    will you be extending on this with practical examples? Really eager for more lol.

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

    It's my first time to enjoy OOP. Thank you for this playlist

  • @miko-puk-puk
    @miko-puk-puk 6 ปีที่แล้ว +1

    Very nice playlist waiting for more, best tuts on youtube. To be fair I like the new syntax more coz it's less confusing. For these who would like to understand the older syntax inheritance more just read about call, apply and bind. Cheers ;D!

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

    I'm watching this series after 5 years but the content is still very helpful and Thank's @Net Ninja🙌

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

    Beautiful course! You are a really outstanding teacher.

  • @TFlies
    @TFlies 6 ปีที่แล้ว

    You making all these concepts clear and simple...Please make more...

  • @JaghataiK
    @JaghataiK 4 ปีที่แล้ว

    Excellent content and simple explanation of quite complicated functionality. Thanks!

  • @timreed9722
    @timreed9722 5 ปีที่แล้ว

    Definitely enjoyed this series and would like to work through some practical examples. It always helps knowing how to code stuff for more useful applications. Good stuff!

  • @dustinpatterson3534
    @dustinpatterson3534 6 ปีที่แล้ว

    I would love some more videos from you on this topic. You are a great teacher!

  • @alifox6056
    @alifox6056 5 ปีที่แล้ว

    Just wanted to say thank you ! Awesome explanation.

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

    Thank you very much. The tutorial playlist is really well done and the explanations were simple for me as well as I have problems with English because I am Italian. Thanks again.

  • @snownkc9749
    @snownkc9749 4 ปีที่แล้ว

    this series was so insightful!
    thanks so much for clarifying SO MUCH out of a very convoluted subject!
    cheers