3 ms·
the Golang way breaks function composition to make error handling a bit more explicit. There are actually better ways. Rust and Haskell not only fix this probl
by crimsonalucard 7y ago
the Golang way breaks function composition to make error handling a bit more explicit.
There are actually better ways. Rust and Haskell not only fix this problem without breaking function composition... they make it so that the compiler is able to catch missing error handling logic.
The golang way of doing this is not the ideal way, but it does fix your issue with python.