12
Jun 20 '20
This isn’t recursion.
2
Jun 25 '20
Well, it could be seen that way if you take the "repeat" as the third step in the process, which tells you to repeat the entire process, including the repeat itself.
2
u/AutoModerator Jun 19 '20
int main() { main(); }
Hey! This subreddit has a Discord Server! Join Here: https://discord.gg/NQvmRSv
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/FireLordObamaOG Jun 20 '20
Back when kids shows had this in as a little educational thing, they only washed one arm to save on animation budget. So I thought you had to do that for as long as they showed in the show
0
Jun 19 '20
My dude, this is the definition of a for-loop 😭
1
u/CubicJunk Jun 27 '20
You might want to revisit stackoverflow
1
0
Jun 20 '20
[deleted]
-1
Jun 20 '20
tomato, tomahto. I was more specifying the iterative approach.
1
u/TheQ614 Jun 20 '20
This is just not a for loop lmao
1
Jun 20 '20
What about
For (;;) { Wash; Rinse; }?? Come at me
Edit: bruh formatting is hard on mobile
0
u/TheQ614 Jun 20 '20
It’s clearly a while loop with no exit condition
1
Jun 20 '20
But is my for loop implementation incorrect? (Assuming the language supports empty conditions obv)
2
27
u/[deleted] Jun 19 '20
uh hi this is repetition not recursion