A Cat Explains JavaScript Inheritance

preview_player
Показать описание
I break discord, explain how JS Inheritance works, and contrast it (prototype-based inheritance) with classical inheritance.
Рекомендации по теме
Комментарии
Автор

These breakdown videos are very thorough and palatable... makes me want to learn to program again. Wish I had time with this shitty unstimulating engineering curriculum.

MIL-STD
Автор

This is such a great video! I'm seriously impressed by how fluently you explained JavaScript inheritance. I came across your video while writing a blog post on core JS concepts and it made a world of difference. Keep up the great work!

jasterix
Автор

This is amazing. You gotta make more videos like this please!

JudahCaruso
Автор

Despite having written JavaScript for... many years, I learned quite a bit from this! Seriously love all of your videos.

alanaktion
Автор

I love your videos. Thank you so much for your content. I always learn something

Tawnii
Автор

Ended up here after seeing your thread on r/cringetopia. I always love when I stumble across interesting content unexpectedly like this. Anyway, great video!

ThePencilModifier
Автор

Good video, but I disagree with you saying it's "not real inheritance". The idea of prototype-based OOP is pretty cool and you can actually do cool ass shit with overwriting prototypes on the fly etc that you wouldn't be able to do with more strict languages. Only lately has JS started showing more "classic" approaches with 'class' and 'extends' etc keywords (which is actually just syntactic sugar for good old prototypes anyway). Buuut to be honest I don't think I've seen many actual good, real, and interesting use-cases for prototype-based OOP out in the wild anyway. It just kind of saddens me when people teach JavaScript and they go "oh but javascript has a wrong and bad idea of OOP". Nah you just don't understand it yourself and haven't gotten over the "java" part of the name of the language.

OnToreOllaStopa