Arrow Controlled Loop Speed
x can go to zero even faster in the opposite direction: int x = 10; while( 0 <---- x ) { printf("%d ", x); } 8 6 4 2 You can control speed with an arrow! int x = 100; while( 0 <---------------- x ) { printf("%d ", x); } 90 80 70 60 50 40 30 20 10
A programming joke shows two C-style while loops decrementing a variable toward zero. The length of the arrow between 0 and x supposedly controls how quickly the loop counts down, parodying a visual programming explanation and treating arrow length as a speed control.
- @ithueti / 1619 2019-11-07
- @right_wing_dev_squads / 3331 2022-01-23
- Type
- image
- Size
- 800×459 · 25.7 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added