4 ms·
Which can be solved with a snippet bound to `e`.
by tjholowaychuk 7y ago
Which can be solved with a snippet bound to `e`.
- eikenberry 7y agoThe problem `try` is addressing isn't typing the boilerplate, it is that it clutters up the code making it harder to read.
- dnautics 7y agoit's not as if `if err != nil` doesn't clutter up the code!
- eikenberry 7y agoSorry, 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.