The COMPLETE guide to Python properties

Описание к видео The COMPLETE guide to Python properties

Properties are unbelievably useful in Python, and serve as a convenient shortcut to one of Python's most powerful concepts, and everyone's favourite thing, descriptors! (Don't worry, properties abstract all the complex stuff away.) We won't just be looking at what they do though, we'll be going into detail about how properties work, and why they're so powerful!

00:00 - Intro [1]
00:50 - Managing private attributes using getters, setters, and deleters [2]
05:04 - Computed properties
07:00 - Cached properties [3-4]
09:44 - How are properties implemented? [5-7]
14:58 - Outro

[1] https://towardsdatascience.com/python...
[2] https://docs.python.org/3/library/fun...
[3] https://docs.python.org/3/library/fun...
[4]    • SPEED UP Python with caching  
[5] https://docs.python.org/3/howto/descr...
[6]    • Are descriptors the most MISUNDERSTOO...  
[7]    • Generics are VITAL in typed Python  



If you want to see more of me, join my Discord server!
  / discord  

I get a lot of people asking, so here's my setup!
• Visual Studio Code:    • My Visual Studio Code setup! (2024)  
• Terminal:    • Make your terminal look AMAZING  
• Desk/recording gear: https://kit.co/Carberra
• PC build: https://uk.pcpartpicker.com/list/TmzGYN

Affiliations (I may earn a commission):
• Codecrafters -- 40% off any plan: https://app.codecrafters.io/join?via=...
• Keeper Password Manager -- 30% off your first year: https://keeper.io/r/EX4FB1C



If you have any questions, don't hesitate to ask in the comments! I'll try and answer as soon as I can, providing someone else hasn't already done so.

#python #coding #howto

Комментарии

Информация по комментариям в разработке