For Loop - Kinds of For Loops

Kinds of For Loops

A for loop statement is available in most imperative programming languages. Even ignoring minor differences in syntax there are many differences in how these statements work and the level of expressiveness they support. Generally, for loops fall into one of the following categories:

Read more about this topic:  For Loop

Famous quotes containing the words kinds of, kinds and/or loops:

    We need two kinds of acquaintances, one to complain to, while to the others we boast.
    Logan Pearsall Smith (1865–1946)

    There are two kinds of fathers in traditional households: the fathers of sons and the fathers of daughters. These two kinds of fathers sometimes co-exist in one and the same man. For instance, Daughter’s Father kisses his little girl goodnight, strokes her hair, hugs her warmly, then goes into the next room where he becomes Son’s Father, who says in a hearty voice, perhaps with a light punch on the boy’s shoulder: “Goodnight, Son, see ya in the morning.”
    Letty Cottin Pogrebin (20th century)

    An accurate charting of the American woman’s progress through history might look more like a corkscrew tilted slightly to one side, its loops inching closer to the line of freedom with the passage of time—but like a mathematical curve approaching infinity, never touching its goal. . . . Each time, the spiral turns her back just short of the finish line.
    Susan Faludi (20th century)