Inheritance in C++

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

I'm learning C++ now, and these videos showing the code being written while explaining the concepts are most valuable.

KE
Автор

I'm a Computer Science major and with the whole online learning thing, its been a but hard to learn things. Thanks for these videos !! They really are a big help.

mikeock
Автор

"oh man, this hair today, it's just, just perfect" - xD. I love it. xD

exnaruto
Автор

Your tutorials are great, you edit out when your not talking to reduce the tutorial time making learning faster. You also talk fast and don't stutter also reducing the time. Its quick and concise unlike some people that don't do any editing and just talk without much idea of were they are going from there.

mr.budders
Автор

even though i know 99% percent of these stuff, i still watch the whole video for cherno's wisdom nuggets

piyushphodu
Автор

Had been programming since decades and love ur description. It gives a new way of thinking and understanding.

JawwadHafeez
Автор

I go back and watch these videos every time I forget something. And Cherno always gives me the answer

yuchen
Автор

you explain things so clearly and concisely, really helps with my c++ textbook and examples for class. The textbook is actually great but this video is more compressed and helped me get a clear understanding easily. I tend to use these videos as a supplement to what i'm learning in class and it helps so much. Thank you for taking the time to explain this.

rufusprime
Автор

Personal notes:
- Example: “Cat : Animal” now Cat class has not only type cat but also has type Animal. That is, it is actually both of those types
-Polymorphism ~= being able to use the same fuction for different type of objects thanks to inheritance

serkanozturk
Автор

Notes:

Inheritance is one of the most fundamental and powerful part of classes. It allows us to have a hierarchy of classes which relate to each other, it allows us to have a base class which contains common functionality and then it allows us to branch off from that class and create sub-classes from that initial parent class.

The reason why this is so useful is because it allows us to avoid code duplication. Instead of us repeating ourselves over and over again we can put all of our common functionality between classes into a parent class and then simply make sub-classes from that base class, which either change the functionality in subtle ways or introduce new functionality.

The idea behind inheritance is that it gives us a way to put all of our common code into a base class so we don’t have to repeat ourselves.

dxlge
Автор

This is exactly what i learned, is avoiding of code duplication, but many peoples doing tutorials don't understand that and they do it opposite way. Misleading many peoples who want learn inheritance.

maximo
Автор

Cherno has helped me massively in my CS education these last few years. Thank you so much, my Ozz brotha.

josephh
Автор

Love the way you explain these things. The way you explain things is exactly the way I like to learn. Very talented teacher. Thanks

JacobKrajewski
Автор

YOU HAVE EARNED ALL MY RESPECT, I AM LEARNING EXCITING THINGS FROM U SINCE 2019 WHEN I STARTED C++ FROM TIME TO TIME IF DONT UNDERSTAND SOMETHIN I COME TO THESE VIDEOS OF YOURS, YOUR VIDEOS ARE APPRECIATED

mahlecyrus
Автор

this guy is amazing, taught me something in 8 minutes that my teacher failed to do in a whole semester

mahdishirazi
Автор

That light coming through the window is somehow ethereal.

LightPenStudio
Автор

You‘re doing a very good job at explaining the things. Thank you for sharing that with us.

ikemkrueger
Автор

biggest issue with my murach's textbook. it tries to teach inheritance with a MASSIVE project of code. having a base class with 4 subclasses and other forms of nested functions without showing the entire code. this video kept it simple to teach the basic principle of inheritance. well done.

joeman
Автор

After watching this video, I finally understand inheritance. All of the other tutorials just made no sense to me.

matthewe
Автор

Excellent. It is good to have this video and have a look at it every time I forget something.

yuchen