News for hackers. Stuff that matters.
Re:Writing secure Go code by Smaug123 on Monday November 04, 2024 @02:30PM (#42045196)
Depends on the application! There's a reason we have the concept of "failing closed" vs "failing open": sometimes (very often, in fact) it's correct to shut down under attack, rather than to open up under attack.
Re:Writing secure Go code by tptacek on Monday November 04, 2024 @03:10PM (#42045543)
The subtext of that comment cuts against the argument you're trying to make here: a panic following a missed error check is always fail-closed, but exception recovery is not.