Are descriptors the most MISUNDERSTOOD part of Python?
Carberra
@carberraAbout
Welcome to Carberra! Regardless of whether you're a budding programmer looking to make your idea a reality, or an avid computer user expanding your knowledge base, this is the place for you. I mainly focus on the world of Python, but occasionally stroll outside the Pythonosphere when I feel like getting a little CrAzY. When I started this channel, I was in my second year of my Computer Science degree. I have since graduated with a Master's, and now make content for those hoping to traverse a similar path! Below is a series of links to other places you can find me. I hope to see you around somewhere!
Latest Posts
Video Description
Descriptors, in many conversations I've had with people, are typically considered one of the most difficult parts of Python. I would posit however that they're moreso misunderstood rather than difficult -- once you get your head around them, there's not much to remember! They're also an incredibly powerful and important concept, as huge swathes of the Python standard library is written using them, from properties to methods! 00:00 - Intro 00:43 - What are descriptors? 01:22 - Creating a lazily-evaluated config system [1a] 07:42 - Creating validators [1b] 14:16 - Looking at strongly-typed generic validators [2-3] 15:39 - Outro [1a] https://docs.python.org/3/howto/descriptor.html [1b] https://docs.python.org/3/howto/descriptor.html#validator-class [2] https://docs.python.org/3/library/typing.html#generics [3] https://docs.python.org/3/library/abc.html#abc.abstractmethod — If you want to see more of me, join my Discord server! https://discord.gg/5vVgQpK I get a lot of people asking, so here's my setup! • Visual Studio Code: https://youtu.be/PBQspYkkksU • Terminal: https://youtu.be/4RuGK3w6Mbs • 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=parafoxia • 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
Chill On-The-Go
AI-recommended products based on this video

NOCO Boost GB40: 1000A UltraSafe Jump Starter – 12V Lithium Battery Booster Pack, Portable Jump Box, Power Bank & Jumper Cables - for 6.0L Gas and 3.0L Diesel Engines

MARSDOCK 45W Charger for Nintendo Switch - 15V 2.6A AC Adapter Fast Charging with 5FT USB C Cord - Compatible with Switch Lite, OLED, Steam Deck - Support TV Mode

Universal Travel Adapter PD 35W, ENSOBO Worldwide Travel Plug Adapter with 2 USB A and 3 USB C Ports, High Speed Worldwide AC Outlet Plugs for UK, EU, AU, Asia (White)





