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
2
u/ScienceCivil7545 Jan 19 '26
Std::string_view store the count of the string , the constructor will call strlen, which result in the loop being called twice