Tag
#Software Design
2 posts
Tech
When to Use Classes vs. Functions in Python: A Design Checklist
A repeatable mental checklist for Python developers to decide when to use classes, functions, instance state, and dependency injection.
#Tech #Python #Software Design #Architecture
Tech
When to Use Dataclasses, Generators, and Try/Except in Python
Phase 2 of the mental checklist for Python developers. Navigating dictionaries vs dataclasses, eager evaluation vs lazy execution, and error handling philosophies.
#Tech #Python #Software Design #Best Practices