Skip to main content
Yangshun Tay
Ex-Meta Staff Engineer, Co-founder GreatFrontEnd
View all authors

Python Exception Handling - Best Practices and Patterns for Robust Code

· 9 min read
Yangshun Tay
Ex-Meta Staff Engineer, Co-founder GreatFrontEnd

Exception handling is one of the most critical yet often overlooked aspects of writing production-grade Python code. Whether you're building a web service that must never crash unexpectedly, a data pipeline processing millions of records, or a library that other developers rely on, mastering exception handling is essential. In this comprehensive guide, we'll explore modern Python exception handling patterns, from basic try-except blocks to advanced strategies for building resilient systems.

Master Python Data Structures - From Lists to Custom Types

· 8 min read
Yangshun Tay
Ex-Meta Staff Engineer, Co-founder GreatFrontEnd

Python's data structures are the foundation of efficient programming. Whether you're building a web application, processing large datasets, or solving algorithmic challenges, understanding how to choose and use the right data structure can make the difference between elegant, performant code and solutions that struggle under load. This guide takes you from fundamental collections to advanced custom types.

Async Programming in Python - From Callbacks to Async/Await

· 7 min read
Yangshun Tay
Ex-Meta Staff Engineer, Co-founder GreatFrontEnd

Asynchronous programming is one of the most powerful yet misunderstood concepts in Python. Whether you're building a web scraper, a real-time monitoring system, or orchestrating complex workflows, understanding how to write non-blocking code is essential for performance and scalability. In this guide, we'll explore Python's async ecosystem from the ground up, starting with callbacks and progressing to modern async/await syntax.