res [terminology]
Terminology¶
Usage¶
- Use for a return collection or constructed output.
- Typical types include:
- Lists
- Nested lists
- Sets
- Mappings
- Constructed strings
- It is most suitable when the function is short and the output's meaning is obvious from the function.
- Prefer a semantic name such as
colorsordistwhen it conveys important structure.