• 2 Posts
  • 232 Comments
Joined 10 months ago
cake
Cake day: December 2nd, 2023

help-circle















  • You have to explicitly check if the return value is an error and propagate it. You write the same boilerplate if (err) return err over and over again, which just litters your code.

    That’s only true in crappy languages that have no concept of async workflows, monads, effects systems, etc.

    Sad to see that an intentionally weak/limited language like Go is now the counterargument for good modeling of errors.