The best naming convention is one that can be read after six months without looking at the code.
In many cases, the Hungarian notation does not make sense if you do not remember what you had in mind.
For the settings object, call the prototype object
SettingsObject
and call instances
settings
because you (and anyone else reading the code) will understand what the SettingsObject instance will contain, and find out what the variable has settings. If you need a longer name, use a longer name, there is no penalty for being descriptive during development.
t. UnitMouseClickListeneror any other name that makes sense.
, . , .