This Is Why Python Data Classes Are Awesome
💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide. Data classes in Python are really powerful and not just for representing structured data. In this video, I show you what you can do with dataclasses as well as new capabilities that have been added in Python 3.10. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:49 What are data classes? 1:37 Explaining the example 4:00 Dataclasses basics 5:45 Assigning default values 8:54 Excluding arguments from the initializer 9:44 Using post_init to generate extra fields 11:25 Private/protected members 11:59 Excluding information from the repr 12:43 Freezing a dataclass 14:59 (new in Python 3.10) kw_only 16:10 (new in Python 3.10) match_args 17:00 (new in Python 3.10) slots 21:30 Final thoughts #arjancodes #softwaredesign #python

A Simple & Effective Way To Improve Python Class Performance

10 Python Features You’re Not Using (But Really Should)

AsyncIO VS Threading VS Multiprocessing in Python

Attrs, Pydantic, or Python Data Classes?

AI Has A Hidden Debt Problem

7 Things You Didn’t Know Dataclasses Could Do

Protocols vs ABCs in Python - When to Use Which One?

I’m done with the AI hype

Python Decorators - Visually Explained

Stop Overusing Classes in Python

AJ Styles On Retirement, Gunther, Hall Of Fame, John Cena, One More Match?

Why Dataclasses Disappear in Real Python Applications

BYD Blade 2.0 Teardown: Why German Automakers Should Be Worried Now

Stop Using Floats for Prices in Python

The Most Important Conversation in AI Right Now

10 Important Python Concepts In 20 Minutes

What Most Python Developers Miss About Generators

The Superweapon Against Putin | Torsten Heinrich

Nervous System Regulation (999 Hz) | 1 hour handpan music | Malte Marten

Jfrog | Jfrog Artifactory | Jfrog Artifactory Tutorial | Artifactory Tutorial | Intellipaat

Unlocking your CPU cores in Python (multiprocessing)

