In this video we explore one of the big reasons Pydantic dataclasses beat out Python dataclasses for building robust systems.
Original blog post with all links and code: https://hamy.xyz/labs/2024-09_python-...
CTA: Get the full project source code - https://github.com/HAMY-LABS/hamy-lab...
Available to HAMINIONs Members - https://hamy.xyz/labs/haminions
Chapters
01:10 - What's the point of types in programming?
02:45 - Python Types and Dataclasses
05:10 - The Problem with Python Types and Dataclasses
07:35 - Fixing the Python Types and Dataclass Issues
Links:
Python Dataclass Best Practices (and why you should use them) - • Python Dataclass Best Practices (and why y...
Types vs No Types - How Types Allow Code to Scale across Developers, Organizations, and Code Size - • Types vs No Types - How Types Allow Code t...
5 Reasons F# is a great Python alternative for scripting, side projects, and enterprise applications - • 5 Reasons F# is a great Python alternative...
About me: I'm Hamilton - a Technomancer. I build Simple Scalable Systems to make the world 1% better.
Connect with me:
Website: https://hamy.xyz
Twitter: @SIRHAMY - / sirhamy
Support
If you liked this and would like to see more, consider becoming a supporter: https://hamy.xyz/labs/haminions
Supporters get:
Full source code access from courses / tutorials
Exclusive discounts on products / courses
Plus you help me to keep experimenting / sharing!
For Sponsorship info: https://hamy.xyz/labs/sponsors