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:

    ... language is meaningful because it is the expression of thoughts—of thoughts which are about something.
    Roderick M. Chisholm (b. 1916)

    These, then, will be some of the features of democracy ... it will be, in all likelihood, an agreeable, lawless, particolored commonwealth, dealing with all alike on a footing of equality, whether they be really equal or not.
    Plato (c. 427–347 B.C.)