5 ms·
In my code, rather than use a generic term to describe the number, I try to name what it actually represents in context. For example, if I'm scoring items so I
by ccleve 6y ago
In my code, rather than use a generic term to describe the number, I try to name what it actually represents in context. For example, if I'm scoring items so I can rank them, and I need to normalize some number to do that, I'll call it a "score" or a "rank".
Calling it a "proportion" or "ratio" or "normalized" is like calling a variable "myinteger" or "myfloat". Your naming convention should be related to a variable's purpose, not its data type.