Questions tagged [blocks]
For questions about implementing blocks or their behavior. A block is a section of code, typically following an if statement or loop or similar constructs, that designates a group of statements or expressions.
1 question
23
votes
7
answers
900
views
Is there a widespread alternative to C-style or Python-style code block syntax?
Many C-style languages represent code blocks using curly brackets:
if (condition) {
...;
...;
}
Python, however, uses significant whitespace:
...