News for hackers. Stuff that matters.
Re:Go Developer Survey 2022 Q2 Results by Macha on Thursday September 08, 2022 @01:55PM (#32769206)
The problem is worst with procedural functions

os.Mkdir("foo")

looks pretty innocent but with no return value to use, the compiler is no help in reminding you this is a fallible function

Re:Go Developer Survey 2022 Q2 Results by nathants on Thursday September 08, 2022 @04:06PM (#32771320)
add errcheck and ineffassign to your build script. the compiler should really do this itself.