Thank you for making a tutorial that gets right to the point and one that doesn't make us watch you take ten seconds to type something (I'm referring to the pastes you had ready on your clipboard). And thank you for not telling stupid jokes. This is the first tutorial I have found on KZbin, and I have seen many of them, in which I did not scoff or roll my eyes over the author taking the long way to explain something. I'm also impressed that you did have any filler sounds for pauses like "um" or ahh". Very well done. Thank you.
@AdamKhoury7 жыл бұрын
Thanks for the positive feedback Matthew!
@sharadsinha71498 жыл бұрын
Finally someone knows how to explain something via a simple example. Most of the tutorials which I have seen till now used unnecessarily lengthy and complex example and ending up confusing more. Good work. Keep it up.
@PaulGreenman9 жыл бұрын
Adam - Thank you. This is one of the best lessons I've seen on inheritance.
@AlexVineyard6 жыл бұрын
+1 to all the comments of thanks for making a great tutorial. Also thanks for not spamming ghostwritten tutorials of smart yet incredibly hard to understand foreigners... I swear I have to wade through 5 of these for every 1 decent video I find.
@Croz100711 жыл бұрын
Thanks a ton. For some reason I was always confused by the prototype coding. Not so hard when you break it down like this. HUGE THANKS.
@McGavel19 жыл бұрын
That's good to know how prototyping a new child class method/property with the same name as one in a parent class will override it. Thanks for the great info!
@McGavel19 жыл бұрын
Cool, that makes sense how the child class inherits all the functionality of the parent just like adding *heal* in the last video.
@stephenhiggin959710 жыл бұрын
Hi, just wanted to thank you for posting this video. No doubt like some of the others below, I read quite a lot of stuff about this subject, and none of it made a great deal of sense to me; you have explained and demontsrated it brilliantly here.
@abeladamu552410 жыл бұрын
it was clear and easy to follow ...and no need to write the whole html tags
@johnkaufi8 жыл бұрын
Very nice video! Especially, for demonstrating how an inherited parent's property/method in a child can be overwritten, so that this property/method is different in the parent and in the child.
@sahotahappy10 жыл бұрын
Thanks Adam, You are awesome. I was strugling with OOP in JS for long time but you made it as simple as it can be...
@mrastrogastro10 жыл бұрын
Adam is the king! Thank you Adam! :)
@bluecafe5099 жыл бұрын
By far the best example I have seen.
@budkin11 жыл бұрын
Liked and subbed. Wish more teachers were as clear as you.
@stevenlane69637 жыл бұрын
Clear, concise and to the point!
@aqlanable10 жыл бұрын
Woow u really made it looks like its so easy ... I read about 20 pages from the book called professional javascript and I felt headache that im stupid :) thx man
@sergeseva10 жыл бұрын
Thanks heaps for your tutorials and for your humour, Adam!
@andyb31969 жыл бұрын
In addition to prototype one can use the Call property as well along with prototype to achieve inheritance and overriding
@chaosinorderrr11 жыл бұрын
brilliantly explained. you have a very humorous way of speaking which makes your tutorial much more enjoyable!
@CaptainSeanTV10 жыл бұрын
Thanks, the explanation is clear and easy to understand. I love your videos.
@trZomB8 жыл бұрын
Very clear and easy to understand, thanks!
@rissandimo10 жыл бұрын
wow...excellent, EXCELLENT!!! tutorial. Keep it up!!
@praveenmohantysoft-engg9 жыл бұрын
clearly explained the inheritance Thanks !!
@LeighMaher9 жыл бұрын
Excellent tutorials. Thanks Adam.
@McGavel19 жыл бұрын
That's also cool about the *instanceof* method.
@malleshbhs8 жыл бұрын
Thanks Adam! good way of presenting to users like me...
@rickeramirez19311 жыл бұрын
Thank you Adam. You speak in iambic pentameters which is very easy to follow. One question if you don't mind would there be any chance you could diagram your concepts using symbols to represent visual meanings of your concepts in future learning sessions? For the visual coder learner it would be the icing on the cake. Thanks again for the logical and sharp presentations.
@BasharAyyash11 жыл бұрын
thanx for the tutorials, you made OOP Javascript simple
@frdeeessswdereee11 жыл бұрын
wonderful
@gami1958 жыл бұрын
Thank you, very very well and SIMPLE explained !
@drbrainguy11 жыл бұрын
Great work Adam, Thanks
@Udodelig18 жыл бұрын
You are awesome dude, thank you.
@tim-finnigan9 жыл бұрын
Thanks! I can finally understand this concept.
@oahulongboardsurfer11 жыл бұрын
dear adam, i have reviewed several inheritance docs online and none of them explain inheritance as well as you have. bravo and kudos:
@valentina53110 жыл бұрын
love your videos - thank you!!
@rmoorthiit9 жыл бұрын
Can we use --var childclass = Object,create(ParentClass), in this way also can access parentclass methods and prosperity right?
@kimgysen1011 жыл бұрын
Great thanks, that was very clear.
@Djemoltellitlikeitis6 жыл бұрын
Thank you for this!!
@TheYene11 жыл бұрын
very nice and easy to follow, thank you
@suii_77711 жыл бұрын
Thanks A ton..nice class keep going on...
@guydan-guri9519 жыл бұрын
Thanks! it was great!
@bzzzvzzze10 жыл бұрын
great explanation as always, thx :)
@sateeshmurapaka2069 жыл бұрын
Thanks great explanation!
@kerimtim8 жыл бұрын
Thanks great video.
@abilashrs41334 жыл бұрын
Nice explanation..Thank you
@Procrastinitise10 жыл бұрын
What if the parent constructor takes arguments? How do I pass the child arguments to the parent. I tried this and I couldn't access the parent properties from a child instance: function Child = function(arg1, arg2) { Child.prototype = new parent(arg1, arg2); } var childInst = new Child(1,2); childInst.parentProperty was undefined
@chrisp74147 жыл бұрын
what happes if u want to override the parent method and have both the parent content and w/e the child content want to add in? Why are we omitting the case where for instance Baddie1 inherits from BaddieBase and BaddieBase contains some important stuff in it's update and then Baddie1.update wants to just add a bit more in this fasion: Baddie1.prototype.update = function() { I want to call the super.update() here then baddie1 updates } the vid should explain how to save the super prototipe and call it within the overriding method
@danielcristian71499 жыл бұрын
Hello, nice videos but can you make one for how to emulate private/public methods and properties in JS? Thanks.
@ask519610 жыл бұрын
amazing!!!
@sasajovicic37118 жыл бұрын
Thank you alot!
@mdi1008 жыл бұрын
perfect!
@kyahaybay11 жыл бұрын
Perfect
@ankurvishwakarma87317 жыл бұрын
Nice tutorial :)
@bigt95nt01103711 жыл бұрын
good stuff! what about doing polymorphic behavior in javascript ?
@SwampDragons11 жыл бұрын
thanks
@GaneshPilli11 жыл бұрын
thanks OOP in java was my nightmare u made it sandwich for me.... I will have fun with coding.................. thanks a to
@sergiofaya76097 жыл бұрын
You say that this is OOP but you are aplying functional paradigm, and not using the js class, instead you just create functions
@Jenson-M-John9 жыл бұрын
It's very easy to do mannn...:) Bye..Bye..:P :D
@Aydreean10 жыл бұрын
I thought this was a great tutorial and concept were explained and demonstrated clearly, except for your choices in properties and method names. It's sometimes hard to imagine the code's behavior in the real world if we don't get ideas to help visualize with. For example, instead of naming the properties 'parent_Property1/child_Property1', maybe it'd help to name them something with actual meaning in the real world, like 'knownSpanishWord/nextWordLearned' to conceptually allow the student to grasp the connection that instance1 has access to both properties. I don't know. Sometimes these concepts are better when they're explained using words and ideas people have an idea of.
@JasonCtutorials9 жыл бұрын
try doing this on python it will break. LOLs. But yes javascript is way more forgiving thanks.
@nailbomb4209 жыл бұрын
+jasonc_tutorials Not really, no. Python is far less verbose than this imo. And an easier language all round, the real drawback is its portability.