Constants with end of line comments

IDLAYOUT-19
TitleDocument constants with end of line comments.
PriorityRecommended
Severity level7
DescriptionDocument constants with end of line comments.
RationaleAlthough variable names should generally speak for themselves, comments can be useful to provide additional information such as units.

Avoid:

THRESHOLD = 10;

Instead use:

THRESHOLD = 10; % [dB] Max noise level