3 ms·
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 com
by quantified 6y 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.