2 ms·
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
by Macha 4y ago
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
- nathants 4y agoadd errcheck and ineffassign to your build script. the compiler should really do this itself.