I love the idea of simpler loops.
‘’’
for (int i = 0; i < 42) { … } // run [0, 42)
‘’’
In my opinion if the compiler knows what the limits are it should apply ++i or —i.
‘’’
for (int i : 0 … 42 ) { … } // run [0, 42)
‘’’
That version would be probably my preferred version since it could simply mean taking i from range literal from 0 up to but excluding 42.
The range literal could be reused elsewhere.
‘’’
for ( N ) { … } // run N amount of times
‘’’
Many times I’ve needed to have a simple way to run N amount of times without specifying the loop iterator.