Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tfha
· 7y ago · 0 comments
Loops in go are much less flexible than loops in C, you'd never see code like that in go.
Comments
[–]
pcwalton
7y ago
In Go that loop could be:
for k, dd = 0, d[0]; k < 16; k, dd = k + 1, d[k + 1] { ... }
I don't find that significantly more readable than the C version.
[–]
bfrog
7y ago
Yeah a quick glance and I have no clue whats going on, tl;dr in review for sure