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

I suppose it's a matter of perspective but I don't see returning a 500 as "Recovering from the error". The user's request has still failed. It just hasn't taken down the server. IMO this is still fine.


It is quite literally using the "recover" function in go, so I think it's accurate to call it "recovering".

> this is fine

I didn't mention the merit, just that it is exception style control flow.


Reading my top level comment again, I realized I did refer to the Zig way as "nice" relative to the exception style control flow.




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

Search: