2 ms·
To be fair, you could write this in a more comprehensible way. I wouldn't say "Rust sucks" based on reading Err(Err::Error(Error::new("c1", ErrorKind::Dig
by lionkor 5y ago
To be fair, you could write this in a more comprehensible way.
I wouldn't say "Rust sucks" based on reading
Err(Err::Error(Error::new("c1", ErrorKind::Digit))));
either, since I just assume its not the language's fault.
- blinkingled 5y agoI am a bit more willing to put up with Rust syntax monstrosities as at least the compiler tries to help me not shoot myself in the foot and when I try the error messages seem to be more helpful than C++ compliers'. Also I don't have as much of an issue with sane subset of C++ as a language - it's the modern crap they keep adding pompously without regard to complexity and usability that irks me.
- eska 5y agoThat's not idiomatic code.