This site uses cookies from Google to deliver and enhance the quality of its services and to analyse traffic.Learn moreOK, got it

Parent / child name redundancy cc4m_logo_inline

IDNAMING-4
TitleNames of fields and properties shall not contain their parent's name.
PriorityRecommended
Severity level8
DescriptionNames of fields and properties shall not contain their parent struct or object's name.
RationaleWhen referenced, the fields and properties can have the same phrase multiple times in a row, which is unnecessary.

Avoid:

Beam.beamThickness chair.weightOfChair

Instead use:

Beam.thickness chair.weight