It's kind of sad that "for" is the keyword programming languages settled on for the loop construct. Ever since its counterpart "do" was dropped from the for-statement, it's just been utterly nonsensical. I mean how on earth does the word "for" convey a loop? With the recently designed languages like Go and Swift taking so many cues from the Pascal side of the ALGOL language family, how nobody thought to pick up "repe…
While we're being pedantic, "do" is a terrible keyword. I mean, everything in an imperitive program is a request to "do" something. And "do ... while(x)" is a terrible construct because it hides the loop complexity far from the place where a programmer needs to see it.
Not at all. "do" helps a lot to make the code read like English and thus more understandable.