you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 5 days ago

When it's designed to be an expression

while (int x = 1) { ... Modify x to eventually be zero... }

That might make sense even if it looks weird. Kinda like a for loop.

  • source
  • parent