News for hackers. Stuff that matters.
Re:The Zen of Go by apta on Sunday February 23, 2020 @09:26AM (#22396951)
You use linters to catch those issues (and more). Any quality project will have linters, CI/CD etc. set up. And it's not like golang obviates the need for linters, if anything, it needs them more than other languages to deal with several issues, including (ironically) accidentally ignoring handling errors.
Re:The Zen of Go by throwaway894345 on Sunday February 23, 2020 @11:34AM (#22397734)
Is ignoring errors really a problem in practice? I’ve been using this language since before 1.0 and I don’t think I’ve ever been burned by this. I’m sure it happens once in a while (albeit at very low frequency), but people in this thread act like you can’t build software in Go because the compiler doesn’t catch every ignored error.
Re:The Zen of Go by apta on Sunday February 23, 2020 @12:16PM (#22398039)
It gets in your way when you're debugging or writing quick scripts.