Python Classes Tutorial #5 | Advanced Concepts

  Рет қаралды 5,433

Aikonic

Aikonic

Күн бұрын

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

Пікірлер: 5
@tpag20
@tpag20 Күн бұрын
Thanks. Good video. Can u tell me what font using?
@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.
@gda7777777
@gda7777777 2 ай бұрын
your keyboard sounds amazing, what is it?
@aikonic911
@aikonic911 2 ай бұрын
It's actually just a MacBook Pro keyboard!
5 Really Cool Python Functions
19:58
Indently
Рет қаралды 39 М.
5 Useful Dunder Methods In Python
16:10
Indently
Рет қаралды 51 М.
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 40 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 166 МЛН
Китайка и Пчелка 10 серия😂😆
00:19
KITAYKA
Рет қаралды 1,1 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,3 МЛН
What's new in Python 3.13?
5:08
Carberra
Рет қаралды 74 М.
Python Classes Tutorial #1 | Objects as a Prelude to Classes
8:57
5 Tips To Write Better Python Functions
15:59
Indently
Рет қаралды 86 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,7 МЛН
Python Classes Tutorial #2 | Creating Our First Class
11:13
Aikonic
Рет қаралды 1,2 М.
THIS Is How You Should Be Making Getters & Setters In Python
7:32
Python dataclasses will save you HOURS, also featuring attrs
8:50
5 Good Python Habits
17:35
Indently
Рет қаралды 355 М.
Is THIS Python's MOST Underrated Operator? (Walrus Operator)
5:45
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 20 МЛН
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,5 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 57 МЛН