MIXINS in Python explained with an example

Опубликовано: 20 Февраль 2023
на канале: Python for Everyone
5,392
217

In this video you see an mix-in example Python. You learn what problems a mixin can solve and how multiple inheritance is used to achieve mixins in Python.

C H A P T E R S
0:09 Single inheritance
0:50 Adding behavior requires inheritance to prevent duplicate code
1:26 Inheritance violates single responsibility principle
2:05 Small addition affects whole system
2:20 Options to implement serialization functionality
2:35 Introduce mixin class
3:30 Use multiple inheritance to achieve mixins in Python
3:48 Difference between mixins and multiple inheritance

M Y O N L I N E T R A I N I N G
🎓Like my style of teaching? Try free chapters of my online courses: https://pythonforeveryone.com

#pythonforeveryone #programming #python


Смотрите видео MIXINS in Python explained with an example онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Python for Everyone 20 Февраль 2023. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 5,392 раз и оно понравилось 217 посетителям.