All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
{}
Loop body not being enclosed in {} can make it confusing and hard to read, hence consider using {} for loop body.
int x = 0; while (x < 10) x++;
int x = 0; while (x < 10) { x++; }