Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Loops in go are much less flexible than loops in C, you'd never see code like that in go.


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.


Yeah a quick glance and I have no clue whats going on, tl;dr in review for sure




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: