TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Unconditional Loops Are Unconditionally Awesome
3 points
by
brson
over 4 years ago
1 comment
quantified
over 4 years ago
In C/Java-series languages I always prefer for(;;) over while(true) as I don’t like tautologies. Either of those is better than a do-while or while that has complexity to building and checking the test. Not as elegant as loop{} either way.