Тёмный

Python Classes Tutorial #5 | Advanced Concepts 

Aikonic
Подписаться 614
Просмотров 7 тыс.
50% 1

In this final tutorial on classes in Python, we are going to discuss two advanced class concepts: dependency injection and immutable classes. Dependency injection is a design pattern in which the dependencies of a class are provided externally, and immutable classes are classes in which the state of an object cannot be modified after its creation, ensuring that their instances remain constant throughout their lifecycle. Please keep in mind, the complexity of classes reaches far beyond the topics covered in this video so if there is a specific topic you’d like see discussed, drop a comment below.
Please like and subscribe if you found this video helpful!
Link to the playlist for this series: • Classes in Python
00:00 - Intro
00:30 - Dependency Injection
04:26 - Immutable Classes
09:00 - Conclusion

Наука

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

 

24 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@tpag20
@tpag20 16 дней назад
Thanks. Good video. Can u tell me what font using?
@aikonic911
@aikonic911 14 дней назад
Thank you!! The font I am using is JetBrains Mono.
@gda7777777
@gda7777777 3 месяца назад
your keyboard sounds amazing, what is it?
@aikonic911
@aikonic911 3 месяца назад
It's actually just a MacBook Pro keyboard!
@supermalavox
@supermalavox 2 месяца назад
I know that what you did was an interesting use of @property, but I am sure you already know about using setters and deleters as decorators, right?
@aikonic911
@aikonic911 2 месяца назад
Yep, you can use the setter and deleter for setting and deleting values of attributes.
Далее
Python 101: Learn the 5 Must-Know Concepts
20:00
Просмотров 1,1 млн
Python Decorators in 15 Minutes
15:14
Просмотров 426 тыс.
Monster shops mini mart 👻🛒 #shorts
00:49
Просмотров 5 млн
ОБНОВАА?? ЛУТАЕМ МЕГАЯЩИКИ
3:12:14
Просмотров 307 тыс.
5 Useful Python Decorators (ft. Carberra)
14:34
Просмотров 88 тыс.
Python's 5 Worst Features
19:44
Просмотров 99 тыс.
How To Use Recursion In Python
8:50
Просмотров 4,2 тыс.
5 Really Cool Python Functions
19:58
Просмотров 52 тыс.
5 Good Python Habits
17:35
Просмотров 392 тыс.
10 Python Comprehensions You SHOULD Be Using
21:35
Просмотров 119 тыс.
PLEASE Use These 5 Python Decorators
20:12
Просмотров 98 тыс.
Купил этот ваш VR.
37:21
Просмотров 292 тыс.
Мечта Каждого Геймера
0:59
Просмотров 1,7 млн