TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best practices for error handling?

2 pointsby vishaalkalmost 7 years ago
Is there a definitive resource for solid error and exception handling? Everywhere I read, error handling is the primary reasons systems fail, yet every language is doing error handling differently. I would be interested in hearing peoples' opinions and links to resources that discuss the pros and cons of different types of error and exception handling.

1 comment

brudgersalmost 7 years ago
I think Erlang's approach is the only properly engineered one. YMMV, because Erlang is not necessarily the best language for implementing any particular business logic.