You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: Why do code examples not follow lower_case variable names and UPPER_CASE constants? #867
This is a bit confusing for many readers because across multiple languages (including python) UPPER_CASE names are use to denote a constant (a value that does not change) and lower_case names are used for variables (that do change).
Likewise in the code base there are things like REGISTRY that are uppercase for non-constant items:
Is there a specific reason that these examples a reusing upper case names even though it conflicts with common standard and doesn't match the metric name?
I'm just asking because if there is a good reason, this might actually be worth documenting.
Apologies again for the trollish sounding question.
Activity