You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right, that comments should only have mentioned while loops, which have the same introductory structure as if conditions in that the condition and the body can be grammatically adjacent.
Braces aren't required around for loop bodies.
And they happen to be required around do loop bodies, but in that case it's not for the reason that a conditional could be ambiguous/confusion, since the body isn't adjacent to a conditional expression. There it's just for readability taste reasons.
Activity
JohelEGP commentedon Nov 15, 2023
See the thread at 26a4cbf#r128455814:
wolfseifert commentedon Nov 16, 2023
Closing as duplicate of 26a4cbf#r128455814.