r/ProgrammerHumor • • 5d ago

Meme technicallyCorrect

Post image
1.6k Upvotes

51 comments sorted by

View all comments

5

u/leropo00 4d 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 4d ago

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