Hacker News new | ask | show | jobs
by sethammons 427 days ago
Moving from try:catch to errors as values was so refreshing. Same company, same developers, but suddenly people were actually _thinking_ of their errors. Proper debugging details and structured logging became default.

I assert that try:catch encourages lazy error handling leading to a worse debugging experience and longer mean time to problem discovery.

1 comments

Checked exceptions also force people to think of their errors