Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you replace panic with a bespoke fallback or retry, have you really gained anything? You can still have all your services die at the same time, and you'll have even less of a smoking gun since you won't have a thousand stack traces pointing at the same line.

The core issue is that resilience to errors is hard, and you can't avoid that via choice of panic versus non-panic equivalents.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: