News for hackers. Stuff that matters.
Re:Lies we tell ourselves to keep using Golang by swiftcoder on Tuesday November 26, 2024 @04:00AM (#42243802)
Which could be solved in one swipe by adding a Result<T, Error> sum type, and a ? operator to the language. This is more a self-inflicted limitation of Go, then a general indictment of explicit error handling.
Re:Lies we tell ourselves to keep using Golang by rand_r on Tuesday November 26, 2024 @08:52PM (#42252154)
Nothing prevents explicit error handling in Python either. Forcing explicit error handling just creates verbosity since no system can functionally prevent you from ignoring errors.