S2 (programming Language) - Language Features

Language Features

S2's structure closely resembles that of most imperative programming languages, and includes basic instructions such as variable assignments, arithmetic operations, conditional flow control and for loops over finite sets (however, it distinctly lacks while loops). Being object-oriented, S2 allows the declaration of classes with members and methods, but global (non-class-specific) functions can also be defined. Recursion is allowed, but nesting functions is not.

Read more about this topic:  S2 (programming Language)

Famous quotes containing the words language and/or features:

    “It is difficult for a woman to define her feelings in language which is chiefly made by men to express theirs.”
    —Thomas Hardy (1840–1928)

    “It is a tribute to the peculiar horror of contemporary life that it makes the worst features of earlier times—the stupefaction of the masses, the obsessed and driven lives of the bourgeoisie—seem attractive by comparison.”
    —Christopher Lasch (b. 1932)