Another good real-world one that I've done is something like:
for (bit = 1; bit <= 128; bit <<= 1)
Personally, I like the flexibility. for (bit = 1; bit <= 128; bit <<= 1)
Personally, I like the flexibility.For example, if the separator for geometric progressions would be ":>", your loop example would become "for bit in 1:>128:>2". Another example of (non-ASCII) separator would be "for bit in 1⋮128⋮2"