Re:Go’ing Insane: Endless Error Handling
by tialaramex on Tuesday September 14, 2021 @12:20PM
(#28527058)
Rust is not an innovator. But "Rust..." is going to show up where people could have said a dozen obscure languages nobody heard of that did innovate these features, precisely because nobody heard of them. The other examples are often less relevant. For example when it comes to the use of Sum type error handling, you could say "Like Expect in C++ 23" only that's still a proposal, so you can't say much definitive about it, whereas Result in Rust is here and in wide use today. Or they could say it's like the Swift sum types, but in this context it's confusing because although Swift uses sum types for error handling it has a very different affordance through exception like behaviour.
When we say e.g. some English dialects have Negative Concord ("Nobody ain't see nothing"), we aren't implying that this is because English invented Negative Concord, we're mentioning this because the English-using audience here have seen and likely even used Negative Concord in English whereas chances are most people here aren't familiar with lots of other languages where Negative Concord is widespread and so examples from those languages are less helpful.
Also, lots of people seem to really like Rust. I like Rust.
When we say e.g. some English dialects have Negative Concord ("Nobody ain't see nothing"), we aren't implying that this is because English invented Negative Concord, we're mentioning this because the English-using audience here have seen and likely even used Negative Concord in English whereas chances are most people here aren't familiar with lots of other languages where Negative Concord is widespread and so examples from those languages are less helpful.
Also, lots of people seem to really like Rust. I like Rust.