Difference between revisions of "Nesting"
Jump to navigation
Jump to search
(nested parentheses.) |
(In PHP, nesting is infinite.) |
||
| Line 4: | Line 4: | ||
((3 - 4) * sin(30) + 16) / (15 - (3 / 4)) | ((3 - 4) * sin(30) + 16) / (15 - (3 / 4)) | ||
| + | |||
| + | Computer languages also use nested, both in arithmetic and in [[control structures]]. In [[PHP]], nesting is infinite.<ref>[http://php.net/manual/en/control-structures.if.php]</ref> | ||
| + | |||
| + | ==Notes== | ||
| + | <references /> | ||
==See also== | ==See also== | ||
*[[Fractals]] | *[[Fractals]] | ||
Revision as of 18:24, January 8, 2010
Nesting is the placement of similar structures within each other, like the Matrushka dolls, with a larger structure containing a smaller structure, and so on.
In arithmetic, we often see nested parentheses.
((3 - 4) * sin(30) + 16) / (15 - (3 / 4))
Computer languages also use nested, both in arithmetic and in control structures. In PHP, nesting is infinite.[1]