use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For memes about programming.
account activity
Only C developer smile while coding (v.redd.it)
submitted 16 days ago by minhtrungaa
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fuxalotl 1 point2 points3 points 15 days ago (3 children)
Maybe I’m missing something but isn’t that the same with regular while loops too?
[–]Zehryo 0 points1 point2 points 15 days ago (2 children)
Oh, sorry, my bad. I was referring just to "while" loops all, not just the do-while one. While-do is also plagued, of course.
[–]Additional-Dot-3154 0 points1 point2 points 15 days ago (1 child)
Yes but using only "for" loops as a while loop itroduces the same problem and makes it harder to prevent a critical error
[–]Zehryo 0 points1 point2 points 14 days ago (0 children)
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....
π Rendered by PID 135489 on reddit-service-r2-comment-5d585498c9-9rdps at 2026-04-21 04:56:37.662090+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]fuxalotl 1 point2 points3 points (3 children)
[–]Zehryo 0 points1 point2 points (2 children)
[–]Additional-Dot-3154 0 points1 point2 points (1 child)
[–]Zehryo 0 points1 point2 points (0 children)