Y
Hacker News
new
|
ask
|
show
|
jobs
by
tjholowaychuk
2551 days ago
Which can be solved with a snippet bound to `e`.
1 comments
eikenberry
2551 days ago
The problem `try` is addressing isn't typing the boilerplate, it is that it clutters up the code making it harder to read.
link
dnautics
2551 days ago
it's not as if `if err != nil` doesn't clutter up the code!
link
eikenberry
2551 days 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.
link