News for hackers. Stuff that matters.
Re:If you're just going to sit there doing nothing, at least... by kelnos on Saturday February 17, 2024 @12:22AM (#39406670)
And I still think you're wrong. If incorrect input can't be handled gracefully in a way that you can be sure nothing bad will happen, it's possible that crashing is the best option.

But I think in most cases that just isn't what's going on. An unsupported API that makes a feature not work is just not a big deal. Lack of support, say, for a cryptographic primitive, could be a big deal, so you might choose to handle that case differently.

Re:If you're just going to sit there doing nothing, at least... by thfuran on Saturday February 17, 2024 @11:51AM (#39411118)
And would you treat an API endpoint that's down the same way? Just silently ignore that a feature that's part of the user's workflow isn't actually working, that maybe only half of what was supposed to happen when they pressed a button actually happened?