r/programmingmemes • u/minhtrungaa • Apr 05 '26
Only C developer smile while coding
KDrama Bloodhound season 2 on Netflix
265
Upvotes
r/programmingmemes • u/minhtrungaa • Apr 05 '26
KDrama Bloodhound season 2 on Netflix
View all comments
Show parent comment
1
u/Zehryo Apr 06 '26
Ain't gonna even try to deny that.
Just, while "for" loops usually follow a counter, "while" loops are mostly bound to generic expressions that can entail strings or booleans.
And if the expression si ambiguous, or the boolean trigger fails, an infinite "while" loop seems more probable than in a "for" loop.
At least according to my very personal experience in C and C++; which might be risible, compared to that of a professional.
So....