3 ms·
Please no. Go is designed to be easy to read and easy to write. err != nil is not hard to read. If you don't like the repetition, it simply isn't the language
by c7DJTLrn 3y ago
Please no.
Go is designed to be easy to read and easy to write. err != nil is not hard to read. If you don't like the repetition, it simply isn't the language for you. I'm perfectly happy with how Go does it. I do not want the language morphing into another Rust.
- aldanor 3y agoArguably, "?" Is not hard to read either.