Go Error Handling: Annoying or Awesome?

Ryan Kikayi
For weeks when I was completely new to coding,I would always keep wondering; "What did I get myself into?", barely understanding what I'm looking at whenever I come across code that looked like this: file , err := os . Open ( "data.txt" ) if err != nil { log . Fatal ( err ) } data , err := io . ReadAll ( file ) if err != nil { log . Fatal ( err ) } var result MyStruct err = json . Unmarshal ( data , & result ) if err != nil { log . Fatal ( err ) } And for some reason it just did not make any sen