Reputation
428
Top tag
Next privilege 500 Rep.
Access review queues
Badges
2 13
Impact
~8k people reached

Jan
13
accepted Are there good techniques or tests for naming types?
Jan
13
comment Are there good techniques or tests for naming types?
The metadata in question is not derived from reflection (but it does describe how to treat types). The type implements an ISecurityMetadataProvider interface, which exists an an injectable point in the security infrastructure, to provide information to the subsystem. Naming is hard.
Jan
13
awarded  Student
Jan
13
comment Are there good techniques or tests for naming types?
As much as I like "ask people" as a real test, I must ask my colleagues about naming at least twice a day. I'm hoping for something that doesn't require other people's time.
Jan
13
comment Are there good techniques or tests for naming types?
Generally speaking, I'm trying to keep my type names in passive voice, as it suits the noun-verb style of OOP. I would consider ProvideMetadataForDomainSecurity to be a poor type name. Method names are typically much easier to name precisely because I'm free to use use verbs. The restriction on language is the crux of the problem.
Jan
13
asked Are there good techniques or tests for naming types?
Nov
26
awarded  Autobiographer
Nov
26
awarded  Supporter