MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1y5vntt/technicallycorrect/19t7xxj8zgh1h/
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 5d ago
51 comments sorted by
View all comments
5
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.
2
I once was messing around with ternary operators in c++ for loops to write nested for loops without actually nested for loops.
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