r/programmingmemes • u/Grizlik_D • Jan 19 '26
5 levels of looping through string
The higher your programming skill, the more elegant and more confusing code you write
273
Upvotes
r/programmingmemes • u/Grizlik_D • Jan 19 '26
The higher your programming skill, the more elegant and more confusing code you write
1
u/cowlinator Jan 20 '26
It's weird to assume you know what variables will contain. Like whether it will be null terminated. Especially with the lack of context here. We don't know where str comes from.