ExperimentalGuy
I love you so much. Never change
Is anyone actually going to go and check what they asked for? I feel like I understood what they asked but still don’t know where to start if I were to try.
That was such a cute lil post
Is that someone’s attempt at spelling genre?
Linux doesn’t always work. We know that. But it looks like you’re misconstruing your specific issue with some broader argument for Linux being mainstream. The fact that you connected it to a switch tells me that youre already more advanced than the average user. I get you’re annoyed, but you can also just ask about your specific issue.
The article made a few good points, but a good amount of it was conjecture. I liked the part about comparing the two functions and showing that exceptions are faster but I think a big thing he’s not getting is readability. Even in the functions he showed, you can directly see that the one using std::expected has the happy path and error path directly in the function signature, whereas the exception one doesn’t.
As for the “error kind” trap he was talking about, that definitely exists, but ignores the fact that you can also get this same kind of error from exceptions. I’ve definitely gotten exceptions that I didn’t understand from Python or Java libraries, but it’s not a problem with exceptions but a problem with how they’re shown. If there’s nothing to tell me that I should have thought of that error, it shouldn’t be an expectation for a dev to have thought of it.
Adventure time