Listen "5 Reasons to Stop Throwing Exceptions - and What To Do Instead for a more Robust, Composable, and Performant Codebase"
Episode Synopsis
In this video we explore reasons that throwing exceptions are bad and an alternative method that leads to more robust, composable, and performant codebases.Original blog post with all links: https://hamy.xyz/blog/2025-07_5-reasons-to-stop-throwing-exceptionsChapters00:00 - Intro00:30 - Exceptions break the type system02:20 - Exceptions make it hard to handle all possible cases04:55 - Exceptions break the control flow of your system05:25 - Exceptions are slow, heavyweight operations06:30 - Exceptions make it harder to compose robust systems09:00 - What should you use instead of exceptions? 13:05 - Does this mean you should never use exceptions? Links:- Build a Simple Result type in Python - and why you should use them - https://www.youtube.com/watch?v=1P7J2wI46sg&ab_channel=HAMYLABS- TypeScript - Errors as Values vs Exceptions Performance Benchmarks - https://www.youtube.com/watch?v=nuAl00ZD7zQ&ab_channel=HAMYLABS- Types vs No Types - How Types Allow Code to Scale across Developers, Organizations, and Code Size - https://www.youtube.com/watch?v=ntNGPompHsA&ab_channel=HAMYLABS About me: I'm Hamilton - a Technomancer building Simple Scalable Systems.Connect with me:- Website: https://hamy.xyz- Email List: https://hamniverse.substack.com/- Twitter: @SIRHAMY - https://twitter.com/SIRHAMY- BlueSky: https://bsky.app/profile/sirhamy.bsky.social- Pod Cast: HAMY LABS POD - https://hamylabspod.buzzsprout.com/# Support If you liked this and would like to see more, consider becoming a supporter: https://hamy.xyz/labs/haminionsSupporters get:* Full source code access from courses / tutorials* Exclusive discounts on products / coursesPlus you help me to keep experimenting / sharing!For Sponsorship info: https://hamy.xyz/labs/sponsors
More episodes of the podcast HAMY LABS POD
AI Is Here to Stay
31/12/2025
How I self-host with Ansible - Multi-server Container Deployments Orchestrated with Nomad
19/12/2025
How I Review my Code with AI
29/10/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.