The (Not so Basic) Basics of Python | The Reality of Python Part 1

Harness the power of objects, closures, and generator coroutines to bring code to life. Join the DUTC Discord Server:   / discord   Sign up for DUTC Weekly: https://mailchi.mp/dutc/ytweekly LinkedIn:   / do-n-t-use-this-code   Website: https://www.dontusethiscode.com/index... Upcoming events: learning.dutc.io Looking for training? Contact [email protected] This is part of the Reality of Python series. In this series, our goal is to understand elements that affect our ability to create code that is easy to understand, maintain, and extend. We’ll also examine how we can select the most appropriate tool or method for the task at hand. We will look to answer the following questions: What is the difference between an object and a closure or an object and a generator coroutine… and how does this affect usability? What is the difference between an object and a closure or an object and a generator coroutine between inheritance and composition… and which should I pick? What do I need to know about object orientation in Python? What is an example convention? What is an example rule? … and does this make things more understandable? What is boilerplate elimination, is boilerplate really that bad… and how can eliminating it help me work faster? Topics: object orientation, functional programming, closures, generators, generator coroutines, inheritance, composition, dataclasses.dataclass