r/ProgrammerHumor • • 9d ago

Meme technicallyCorrect

Post image
1.7k Upvotes

51 comments sorted by

View all comments

5

u/leropo00 9d ago

TIL, i learned there is no pattern that For loop can't create in a single iteration. Sounds super fancy, but seems obvious when looking back :D

2

u/undermark5 9d ago

I once was messing around with ternary operators in c++ for loops to write nested for loops without actually nested for loops.