Y
Hacker News
new
|
ask
|
show
|
jobs
by
iends
3596 days ago
There are lots of tools in Go that make up for issues people have with the language. Another example is the IDE macros people use for the standard if err != nil {} block.
1 comments
spriggan3
3596 days ago
> Another example is the IDE macros people use for the standard if err != nil {} block
Which doesn't make code easy to read when there are 10th of these blocks in a single function.
link
skybrian
3596 days ago
It may be 4 lines of code where 1 or 2 would do, but I don't find it hard to read.
link
Which doesn't make code easy to read when there are 10th of these blocks in a single function.