🖥️ Very clearly explained. The best part is that you did not directly jump into explaining abstract classes but gave a context about how things work in different languages and in what ways python is different.
@JefferyHarrold9 ай бұрын
The Talking interface and associated implemented Talking class...them having the same name and working, was that just a quirk of Python that shouldn't be encouraged because it will probably be fixed at a later date? Looking at the autocomplete prompts that were coming up, probably from practicing, was the implemented Talking class supposed to be called TalkingDog?
@k0nze_builds9 ай бұрын
You are absolutely correct. I actually made a mistake while recording, the listings in the accompaniment blog article show the correct code.
@estevaoyt9 ай бұрын
Beautiful explanation, now it's clear to me the difference between an abstract class and an interface. Keep it up!
@k0nze_builds9 ай бұрын
Glad it was helpful!
@ddevarapaga51346 күн бұрын
NIce thanks for the video
@dhananjayharidas43274 ай бұрын
Great explanation
@danielschmider50697 ай бұрын
Giving the interface and the class the same name was weird, I was really surprised this actually worked! Is it because the Talking Class is defined later (further down) in the code?
@adeolaogunleye79656 ай бұрын
Nice video, I really enjoyed it.
@elias64067 ай бұрын
I honestly don’t understand you don’t many views. I enjoyed your explanation. I would like to see a complete tutorial especially on oop and design patterns.
@jorgesegundorojas61192 ай бұрын
Cool content, I'm new on Phyton but in my minimal experience with this language I've noticed that, in comparison with other languages, there's a lot of errors than may happen at runtime. Unfortunately, the lang is used in a lot of areas and it's important to learn it.
@sharimiqbal58034 ай бұрын
What ide you are using?
@reidaslaranjas69612 ай бұрын
NeoVim
@ajaynarayanan23265 ай бұрын
Nice video
@2sourcerer5 ай бұрын
Doesn't quite explain what "ABC" is for. Removing it doesn't break things.
@2sourcerer5 ай бұрын
Oh i see, that abstractmethod decorator has no effect unless subclassing an ABC. But still doesn't explain why the Animal class needs it.
@amersulaiman18275 ай бұрын
It makes the class abstract, so it can't create an object feom it directly, but from another class that inherits it
@mariuszdrabik71193 ай бұрын
Why not use something like this: IsTalking(ABC) and class Dog(Animal, IsTalking)? This would be more logical, and super is not needed in the child class if there are no changes to the class fields