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:

    “There are three kinds of despots. There is the despot who tyrannises over the body. There is the despot who tyrannises over the soul. There is the despot who tyrannises over the soul and body alike. The first is called the Prince. The second is called the Pope. The third is called the People.”
    —Oscar Wilde (1854–1900)

    “I have three kinds of friends: those who love me, those who pay no attention to me, and those who detest me.”
    —Sébastien-Roch Nicolas De Chamfort (1741–1794)

    “In the labyrinth of a difficult text, we find unmarked forks in the path, detours, blind alleys, loops that deliver us back to our point of entry, and finally the monster who whispers an unintelligible truth in our ears.”
    —Mason Cooley (b. 1927)