4 ms·
>Use comments and/or docstrings to provide context for compact parameters and local variables once, rather than implicitly documenting with every usage. Contex
by ctxc 3y ago
>Use comments and/or docstrings to provide context for compact parameters and local variables once, rather than implicitly documenting with every usage.
Context that isn't documented with every usage is context you need to remember. Trade off, but I'd much rather not have to remember multiple contexts for the same name every few hundred lines.