Hacker News new | ask | show | jobs
by bade 1818 days ago
I wouldn't use the word "assign" these are definitions and their order is not significant. You're right, a while without a definition of result produces a syntax error. If the condition is initially false, the definition of result is immediately evaluated.

Looks like I fooled some people into assuming that whiles are imperative. They're not