News for hackers. Stuff that matters.
Re:Go proposal: Leave “if err != nil” alone? by crimsonalucard on Friday June 28, 2019 @01:19PM (#20306623)
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.

There are no comments on this comment yet.