Structures
Structure names should begin with a capital letter
Structure names should begin with a capital letter
This usage is consistent with C++ practice, and it helps to distinguish between structures and ordinary variables.
The name of the structure is implicit, and need not be included in a fieldname
The name of the structure is implicit, and need not be included in a fieldname
Repetition is superfluous in use, as shown in the example.
Use Segment.length
Avoid Segment.segmentLength