Series overview
Python Bakery
This lesson covers functions that return a dataclass instance, either by mutably updating the instance they receive or by returning a new copy, and how each looks on the stack and heap. Students write functions that return and convert dataclasses, including one type into another, and close with complex state in the Drafter web-app library, where a dataclass holds an application’s state.