Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tjholowaychuk
· 7y ago · 0 comments
Which can be solved with a snippet bound to `e`.
Comments
[–]
eikenberry
7y ago
The problem `try` is addressing isn't typing the boilerplate, it is that it clutters up the code making it harder to read.
[–]
dnautics
7y ago
it's not as if `if err != nil` doesn't clutter up the code!
[–]
eikenberry
7y ago
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.