When Python manual wiring turns into copy-paste architecture
A small typed dependency injection approach for apps that outgrow copy-pasted constructors but do not need a full DI framework.
https://vshulcz.hashnode.dev/when-python-manual-wiring-turns-into-copy-paste-architecture
A small typed dependency injection approach for apps that outgrow copy-pasted constructors but do not need a full DI framework.
https://vshulcz.hashnode.dev/when-python-manual-wiring-turns-into-copy-paste-architecture
Vlad Shulcz Notes
When Python Manual Wiring Becomes the Problem
When Python wiring drifts across APIs, CLIs, workers, and tests, a small typed DI container can keep construction in one place.
What types of exceptions should you catch?
The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that obfuscate the actual error that's occurring. Which exceptions should you catch and which should you leave unhandled?
https://www.pythonmorsels.com/what-types-of-exceptions-should-you-catch/
The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that obfuscate the actual error that's occurring. Which exceptions should you catch and which should you leave unhandled?
https://www.pythonmorsels.com/what-types-of-exceptions-should-you-catch/
Pythonmorsels
What types of exceptions should you catch?
The trickiest programming bugs are often caused by catching exceptions that you didn't mean to catch or handling exceptions in ways that **obfuscate the actual error that's occurring. Which exceptions should you catch and which should you leave unhandled?