I am constantly wishing for a loop control structure which allows me to use the same code at the beginning and end of the loop; ie, the initialization is the same as the iteration.
Does this have a name? I realize that it’s easy to create with macros, even in C, but giving it a simple, descriptive name is tougher.
I also hesitate to use such a homebrewed control structure in my C++ code at work, since other people looking at my code will probably get at least slightly confused. Curse this constant battle between elegance and pragmatism!