News for hackers. Stuff that matters.
Re:Rust – A hard decision pays off by rob74 on Thursday August 25, 2022 @04:09AM (#32590958)
Still, creating a method that calls several other methods one after another is programming 101, so I refuse to entertain the though that creating a "containers.run" method similar to the one from the Python API is not possible in Go. The error handling is definitely not the culprit, you can check the error after each "subcommand" and return early with this error. The question is just, why didn't they do it?
Re:Rust – A hard decision pays off by throwaway894345 on Friday August 26, 2022 @06:01PM (#32613234)
Fair enough. I didn't look deeply at the API differences.