SyntaxFix
Write A Post
Hire A Developer
Questions
If you're code-golfing, I would suggest for(;;). Beyond that, while(true) has the same meaning and seems more intuitive. At any rate, most coders will likely understand both variations, so it doesn't really matter. Use what's most comfortable.
for(;;)
while(true)