Hacker News new | ask | show | jobs
by randomswede 1696 days ago
But, then does programming. In C, there's at least three (arguably more) ways of doing a loop.

You can use for (...) { ... }, you can use while (...) { ... }, and you can use do { .... } while ( ... ).

Of course, which one you pick depends on context. But, then, which one of sqrt or "raised to 1/2" you choose also depends on what's more convenient at the time.

1 comments

Fair enough!

Good points, thanks.