Avatar

ExperimentalGuy

ExperimentalGuy@programming.dev
Joined
6 posts • 36 comments
Direct message

Sweet - I didn’t realize that malware is tailored for one OS usually, but that makes a lot more sense.

permalink
report
parent
reply

I love you so much. Never change

permalink
report
reply

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.

permalink
report
reply

That was such a cute lil post

permalink
report
reply

Is that someone’s attempt at spelling genre?

permalink
report
reply

Why do the tech heads show why it won’t be adopted mainstream any time soon?

permalink
report
parent
reply
Deleted by creator
permalink
report
reply

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.

permalink
report
reply

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.

permalink
report
reply