Choose identifier names that precisely and unambiguously describe what the thing represents or does, including its scope and intended visibility.
statement_submitted_hook because the original name misrepresented its timing/role. Before finalizing a name, check if it accurately matches the full behavior across all call sites.Process property returning an internal callable should delegate to a method named _process, not process, to avoid implying it’s public.flags dict/string, expose them as explicitly named attributes (e.g., rule.memo: bool, rule.fastpath: str | None) so the purpose of each value is clear from its name and type alone.Applying these guidelines keeps identifiers self-explanatory, prevents misleading assumptions about behavior or access level, and reduces the need for readers to dig into implementation to understand intent.</description>