A for loop also is an implicit branch, by the way. At least it will be compiled to something with a conditional jump.
So being unsure about how many times you want to do a thing is a no-go too.
So being unsure about how many times you want to do a thing is a no-go too.
If the trip count isn't known at compile time? You should find out.