News for hackers. Stuff that matters.
Re:Why I love Rust for tokenising and parsing by Mawr on Saturday November 09, 2024 @05:55AM (#42093729)
The problem with the opposite is, since everything gets invisibly bubbled up to the top, you are not able to tell what errors do need to be handled. You only find those out from runtime failures and that's no good if you care about reliability.
Re:Why I love Rust for tokenising and parsing by speed_spread on Saturday November 09, 2024 @01:59PM (#42096174)
You are right, I wouldn't want totally invisible bubbling either. I like Rust's ? notation although it's not perfect and I'm sure another language could do better maybe with more structured error classes.