Hacker News new | ask | show | jobs
by tjholowaychuk 2551 days ago
Which can be solved with a snippet bound to `e`.
1 comments

The problem `try` is addressing isn't typing the boilerplate, it is that it clutters up the code making it harder to read.
it's not as if `if err != nil` doesn't clutter up the code!
Sorry, I said that poorly. I mean that the problem `try` is fixing is that all the `if err != nil ..` clutters up the code and they are introducing `try` to clean that up.