▲ | lpribis 4 days ago | ||||||||||||||||
> How do you implement do while loops?
| |||||||||||||||||
▲ | 1718627440 4 days ago | parent | next [-] | ||||||||||||||||
What is the benefit over this:
What separates loop syntax from goto is explicit syntax for the condition. When you give that up, why do you have loop at all? | |||||||||||||||||
▲ | rkomorn 4 days ago | parent | prev [-] | ||||||||||||||||
Shouldn't your body be after the condition check? Otherwise you get one iteration even if your condition was false to begin with? | |||||||||||||||||
|