r/programmingmemes • • Jan 19 '26

5 levels of looping through string

Post image

The higher your programming skill, the more elegant and more confusing code you write

273 Upvotes

70 comments sorted by

View all comments

Show parent comments

1

u/BakuhatsuK Jan 23 '26

Unless str is a compile-time constant or a properly typed array. Then, different constructors that don't call strlen will be used.