About
An application is generally constructed from code blocks.
A block is a piece of program text that group statement.
It' is generally executed as a unit (excepted for SQL Block where block manipulation may occurs such as filter pusing)
The following are blocks:
- anonymous block. An anonymous block is a block of code without name that then cannot be called (ie reused). The statement are between block character such as: ( and ) or { and }
- Reusable block. They are block of code with a name that can be reused (ie function or class)
Statements are grouped for:
- and reuse.
Articles Related
See also
- The off-side rule. Instead of punctuation or keywords indentation is used to delimit program blocks (Python use it)