Closed
Description
The style guide suggests using {...} for single line and do/end for multiple line blocks.
Is it worth mentioning the semantic rule for choosing {} VS do/end as another possibility? The semantic rule says use {} for blocks where the primary purpose of the block is to return a value, use do/end for blocks where the primary purpose of the block is to execute side effects.
Although a minority style choice, the semantic rule does have a significant following:
Metadata
Metadata
Assignees
Labels
No labels