Do While vs While Loop
do { run(); } while (not edge); while (not edge) { run(); }
Wile E. Coyote runs toward the edge while the Road Runner has already stopped safely. The joke compares a do-while loop, which runs before checking the condition, with a while loop, which checks the condition first. EN: Wile E. Coyote runs toward the edge while the Road Runner has already stopped safely. The joke compares a do-while loop, which runs before checking the condition, with a while loop, which checks the condition first.
- @ithueti / 1032 2019-06-21
- Template
- Wile E. Coyote and Road Runner
- Type
- image
- Size
- 800×573 · 105.3 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added