News for hackers. Stuff that matters.
Re:C uses "&" for the address-operator because 'ampersand so... by adrian_b on Tuesday October 10, 2023 @02:27PM (#37835640)
A better syntax for loops with geometric progressions like this would be obtained by modifying the syntax for writing arithmetic progressions (e.g. "a:b:c") by using a different separator symbol.

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"

Re:C uses "&" for the address-operator because 'ampersand so... by kazinator on Tuesday October 10, 2023 @06:38PM (#37838627)
[delayed]