4 ms·
K8s is regularly regarded as a very poor example of idiomatic Go code, along with the AWS client libs. Searching our prod code, "naked" if-err-return-err showe
by sethammons 5y ago
K8s is regularly regarded as a very poor example of idiomatic Go code, along with the AWS client libs.
Searching our prod code, "naked" if-err-return-err showed up in about 5% of error handling cases, the rest did something more (attempted a fallback, added context, logged something, metric maybe, etc).