• 1 Post
  • 1.55K Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle



  • You will get the stack at the point of your ‘debug.Stack()’ call though, not where the error happened.

    I’m leaning go, and starting to get used to it, but the error handling is just obnoxious. The constant “if err != nil” makes reading the actual logic so much harder. I’m surprised they haven’t come up with some syntactical sugar to make it simpler yet, but these devs seem to see it as some sort of “badge of honor” to suffer.