News for hackers. Stuff that matters.
Re:Twelve Years of Go by vlunkr on Wednesday November 10, 2021 @03:40PM (#29180425)
> First, I want my program to immediately crash if I have a bug.

An error being returned doesn't always mean there's a bug.

> Go is like shell in that it keeps going even if there's an error.

With both Go and shell scripts it's up to you if you want the program to keep going when there's an error.

Re:Twelve Years of Go by kbd on Wednesday November 10, 2021 @08:01PM (#29183181)
> An error being returned doesn't always mean there's a bug.

The bug is not the error, the bug is the unhandled error.