YoVDO

Making Data Classes Work for You

Offered By: PyCon US via YouTube

Tags

PyCon US Courses Object-oriented programming Courses Encapsulation Courses Enums Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the power of data classes in Python through a practical, example-driven talk. Learn how to create robust, self-validating types by progressing from traditional approaches to modern solutions using @dataclass. Discover techniques for encapsulating data, ensuring object validity, and creating immutable instances. Follow along as the speaker demonstrates these concepts by building increasingly complex types, from a simple OneToTen class to a composite Person type with validated fields. Gain insights into best practices for data modeling, error checking, and leveraging Python's features to write more reliable and maintainable code.

Syllabus

Introduction
Checking for errors
Encapsulation
Data Classes
Replace Function
Frozen Objects
Composing
enums


Taught by

PyCon US

Related Courses

Java Programming: Step by Step from A to Z
Udemy
Typescript Fundamentals
Udemy
Java Class Library
LearnQuest via Coursera
Hibernate: Advanced Development Techniques
Udemy
TypeScript for Node.js Developers
LinkedIn Learning