Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
laydi/wiki/development/names.md

20 lines
504 B
Markdown
Raw Permalink Normal View History

2023-01-25 13:36:26 +01:00
## Recommended names
### Variables
- fn for filenames.
- fd for files.
- dim for a dimension.
- it for iterators.
- ids for a list of identifiers.
- indices
- func for functions
### Function handlers
Function handlers should generally be named _on_<signal>. This makes them private and easy to follow. This is not an absolute rule, as there can be several functions in the same namespace listening to the same signal, but on different objects.
## Unrecommended names
- iter
- dimname, dim_name etc.