20 lines
504 B
Markdown
20 lines
504 B
Markdown
|
## 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.
|