Тёмный

Python Interfaces and Abstract Base Class (ABC): A Must-Know for Advanced Programmers 

k0nze
Подписаться 4,3 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

19 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@estevaoyt
@estevaoyt 5 месяцев назад
Beautiful explanation, now it's clear to me the difference between an abstract class and an interface. Keep it up!
@k0nze_builds
@k0nze_builds 5 месяцев назад
Glad it was helpful!
@elias6406
@elias6406 4 месяца назад
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.
@DominikJagoda
@DominikJagoda 2 месяца назад
Nice explanation, thanks !
@dhananjayharidas4327
@dhananjayharidas4327 Месяц назад
Great explanation
@adeolaogunleye7965
@adeolaogunleye7965 2 месяца назад
Nice video, I really enjoyed it.
@danielschmider5069
@danielschmider5069 3 месяца назад
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?
@JefferyHarrold
@JefferyHarrold 5 месяцев назад
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_builds
@k0nze_builds 5 месяцев назад
You are absolutely correct. I actually made a mistake while recording, the listings in the accompaniment blog article show the correct code.
@sharimiqbal5803
@sharimiqbal5803 Месяц назад
What ide you are using?
@ajaynarayanan2326
@ajaynarayanan2326 2 месяца назад
Nice video
@2sourcerer
@2sourcerer Месяц назад
Doesn't quite explain what "ABC" is for. Removing it doesn't break things.
@2sourcerer
@2sourcerer Месяц назад
Oh i see, that abstractmethod decorator has no effect unless subclassing an ABC. But still doesn't explain why the Animal class needs it.
@amersulaiman1827
@amersulaiman1827 Месяц назад
It makes the class abstract, so it can't create an object feom it directly, but from another class that inherits it
@godray25
@godray25 2 месяца назад
🖥
@pepijnkrijnsen4
@pepijnkrijnsen4 3 месяца назад
💻
@esbee296
@esbee296 3 месяца назад
🖥
@jmcoxD
@jmcoxD 3 месяца назад
🖥
Далее
Tanish holatmi?😅❤️
00:41
Просмотров 1,2 млн
Construction site video BEST.99
01:00
Просмотров 222 тыс.
الذرة أنقذت حياتي🌽😱
00:27
Просмотров 6 млн
Protocols vs ABCs in Python - When to Use Which One?
15:31
10 Nooby Mistakes Devs Often Make In Python
24:31
Просмотров 59 тыс.
Understanding Python: Abstract Base Classes
21:27
Просмотров 4,5 тыс.
Master Golang with Interfaces
21:54
Просмотров 11 тыс.
Python 101: Learn the 5 Must-Know Concepts
20:00
Просмотров 1,1 млн
5 Good Python Habits
17:35
Просмотров 496 тыс.
The Flaws of Inheritance
10:01
Просмотров 930 тыс.
PLEASE Use These 5 Python Decorators
20:12
Просмотров 107 тыс.
Tanish holatmi?😅❤️
00:41
Просмотров 1,2 млн