Y
Hacker News
new
|
ask
|
show
|
jobs
by
tfha
2400 days ago
Loops in go are much less flexible than loops in C, you'd never see code like that in go.
1 comments
pcwalton
2400 days 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.
link
bfrog
2399 days ago
Yeah a quick glance and I have no clue whats going on, tl;dr in review for sure
link