Control Loop Speed with an Arrow
x can go to zero even faster in 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 while loops counting down, with extra hyphens between zero and x. The punchline is that the arrow-like spacing is treated as a way to control how quickly the value reaches zero, parodying misunderstandings of C syntax and reaction-based programming humor. EN: A programming joke shows two while loops counting down, with extra hyphens between zero and x. The punchline is that the arrow-like spacing is treated as a way to control how quickly the value reaches zero, parodying misunderstandings of C syntax and reaction-based programming humor.
- @ithueti / 29 2017-09-07
- Type
- image
- Size
- 750×425 · 20.6 KiB
- Mood
- sarcastic
- Language
- en
- Added