The two kinds of error

· Evan Hahn · March 1, 2026, 8:01 p.m.
Summary
This blog post discusses the two types of errors in software development: expected and unexpected errors. Expected errors, like user input and network issues, are part of normal operations and should be handled gracefully. Unexpected errors, like null pointer exceptions, indicate bugs and should be treated seriously, potentially causing the program to crash. The author emphasizes the importance of error handling in creating reliable software, drawing from personal experience and suggesting different approaches based on the context of development.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →
BLOG POST FEATURED ON

Add this plugin to your blog