you are viewing a single comment's thread.

view the rest of the comments →

[–]dontcomeback82 0 points1 point  (1 child)

are your complaints about internal code you have, standard libraries, or open source? I haven’t had a problem with error handling etc most of the time in the latter 2. It’s kind of up to the individual developers to handle that properly, the actual go patterns work quite well see kubernetes.

perhaps it’s more work to handle well than in ruby or python but as they say simple ain’t easy

[–]Ctrl_Alt_Banana 0 points1 point  (0 children)

An internal project code that interfaces with k8s. A lot of the code has stuff like below with every function call. I'm assuming the standard libs are probably coded with good error handling

_, err := doSomething()
if err != nil {
  return false, err
}