Hacker News new | past | comments | ask | show | jobs | submit login

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.




Fair enough!

Good points, thanks.




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

Search: