Python Programming Tutorial - 33 - Multiple Inheritance

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

that may have been the clearest explanation of a coding principle i have seen. thanks

alexanderbaines-buffery
Автор

I have never seen such a playful teacher. Amazing Bucky. Keep it up.

AkshaySharma-yoth
Автор

Actually... the fire class should inherit the BigMario calss, because he can only get the ability to fire after he is a Big Mario. Just a detail. Amazing tuts btw!

fcvproducciones
Автор

Fun fact: Mario changing size by eating mushrooms is a reference to Alice in Wonderland.

Peteman
Автор

Mario shoots fire out of his hand nor stomach. Lol. Amazing tutorial as always

MrSKYFOUR
Автор

I am here to know what happened next after you changed your last name!

talhaahmed
Автор

Am a late entry here. but for me its never too late. thanks buddy. u teach great.

arunps
Автор

if Bucky != cool:
Print('bucky is hot')
else:
Print('bucky is cool')

neeldeshmukh
Автор

ha ha ha I loved ur comentry u make me laugh a lot!!...wish to see you sometime!! Take Care

jamesT
Автор

These are the best tutorials ever except his stories and idiotic jokes. still thumbs up and respects

fatihaltunay
Автор

Thanks for the awesome tutorial Bucky!

azinheidari
Автор

Multiple Inheritance - Dangerous but useful.

camelCaseFTW
Автор

Shroomin baby! I knew there was something I liked about Mario.

Colstonewall
Автор

Admit it 'Bucky' you wanted to say 'fire out of his ass'

andyee
Автор

you did not cover: what if two parent classes implement the same method?

yanfoo
Автор

Here's a mindf**k, what if both the classes that i am trying to inherit have a method/function with the same name? when I call that method, whose method it's gonna call?

In short, why does it support multiple inheritence?

jatinlalwani
Автор

So we can say that pass is like a placeholder for any crap we want to add to class BigMario later on ?

mohamedkhaled
Автор

Something he didn't really say but hopefully you all know. If you inherited from BigMario, you also inherit from Mario and Shroom. The chain literally continues forever as long as you are inheriting like a family tree.

TheStormPlacid
Автор

Instead of using pass, one can even use '...' (without quotes, of course)

jeffhardyextremematt
Автор

So, that 'pass' is same thing - 'nop' instruction we use in assembly. You can google it, there are pretty good explanations :)

rzaaeeff
welcome to shbcf.ru