Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
voidlogic
· 13y ago · 0 comments
It is interesting to read and compare both, but I would avoid a simple LOC comparison as the Go versions have a lot of extra lines (newlines, unneeded selects, redundant case statements) that could easily be eliminated.
Comments
[–]
Evbn
13y ago
What is the difference between sigle-case select vs just reading from the channel?
[–]
ferg
13y ago
Nothing, just a remnant from aggressive debugging. I had a default clause in there at some point probably.