3 ms·Loop-and-a-half is a very common and useful pattern, I don't see anything wrong with the second code snippet.by bartwe 15y agoLoop-and-a-half is a very common and useful pattern, I don't see anything wrong with the second code snippet.