Source Decoded 3: Javascript -- Prototypes, Prototypal Inheritance done right.

preview_player
Показать описание
Javascript got a lot of things right, and some things wrong. What about prototypes and prototypal inheritance? Well... Javascript managed to get that half right.

Fortunately, more recent versions of Javascript (IE9+) provide a couple of great tools for getting prototypal all right. In this video we discuss what prototypal inheritance looks like, how Javascript missed the mark the first time around, and how to take advantage of this impressively simple, and powerful, design pattern.
Рекомендации по теме
Комментарии
Автор

Idk why these vids never gained mass traction, thanks for the teaching

exponentialnetworks
Автор

Wow this is just what I needed, a very intuitive and thorough explanation. Love the format you have there as well, with one guy explaining and the other asking questions and filling the gaps.

PENDANTturnips
Автор

I really like how politely you talk to each other. Usually when 2 or more people try to explain something it's hell of earth, at least in my experience. Great tutorial.

Bliss..
Автор

I was really lost seeing this for the first time.  Glad you guys put up this video as a great reference.  Thank you

SpencerCornelia
Автор

Ben and Jared, you guys are great, thank you for making these videos!

catherinekim
Автор

This is awesome. I've been wanting some nuts and bolts explanations of javascript for a while, this kind of low level knowledge really helps me to understand the language better. Thanks guys

MrSeanwarman
Автор

I can watch this stuff being worked over and talked about all day. Sounds depressing? Maybe it is but for someone who's learning it's a godsend. Thank you guys.

ALOSTAMERICAN
Автор

I just want to say that you guys are awesome, i've been trying to learn js from the web for some time now but i've never found a video like this one, the others helped me understand what JavaScript is and what it does, but you guys showed me how the language thinks and that's a big help for me. So thank you so much!
It would be awesome if you guys do more videos.

alexemihai
Автор

a Big hug to you guys... i like the way you aproch a problem and put in a simple way.

Автор

Really great video guys. Totally cleared things up as to why my plugin had to be set up the way it was. That 'new' operator was just so enticing when I first saw it

squirrelzar
Автор

You guys are awesome, i was so confused with prototypes but now it all makes sense

maisnamraju
Автор

Totally a great way of explaining things.  Can you guys please explain closures ? if possible

pragurr
Автор

Excellent stuff. Thanks for another great video chaps!

elusiveobvious
Автор

couldnt been explained better. you two rocks!

scottdialo
Автор

This was one of the best videos demonstration I've every watched regarding a computer science topic such as prototypal inheritance. Thank you so much for post this.

DevonWalker
Автор

Great stuff. Prototypal inheritance is one of those things I think I understand until I realize that it has not completely sunk in. This helps. I guess what confuses me is not so much the theory around Prototypal inheritance, but rather the way Javascript gives you several ways to do it (I start losing track of which technique to use when and when to use the constructor function as opposed to when to not use it). BTW, ECMAScript 6 will make this super easy with the "class" keyword along with "extends". I think they even realized how messy this was to do with EC5.

joeshmot
Автор

What a great explanation and method. Thanks guys!

javiercruz
Автор

This is an awesome video format. Love getting to hear you guys reason through these issues and problems, and it's incredibly helpful getting perspective from both of you. Thanks for the great information! Could you maybe type on the screen through a projector or something? Would definitely save some time! :)

lampsalot
Автор

2 dudes on a whiteboard really? No but to be serious you guys are hillarious funny yet serious. You have something unique going on, i hope this channel grows and we with you guys.

Johan-rmec
Автор

thank you guys for making it so clear, this is a great explanation 

liushuo
visit shbcf.ru