504 B
504 B
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. 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.