2 ms·
That is so cool. And confusing. And likely to lead to errors. Error handling should not require l33t features. (This is my big argument with both Go and Rust
by Animats 10y ago
That is so cool. And confusing. And likely to lead to errors.
Error handling should not require l33t features. (This is my big argument with both Go and Rust. The stuff they use to get around not having exceptions is worse than exceptions.)
- kibwen 10y agoAs though exceptions themselves are somehow not a "l33t feature". :P
- donatj 10y agoI wouldn't really call "return values" a "l33t feature". Exceptions are absolutely a "l33t feature". They break whatever is currently happening. They are an uncontrolled return working its way up your structure. While you're attempting to recover from that Exception I gracefully catch my error and can even use the multiple return values that came back successfully from my function, despite there being an error.