|[ << Programming work ]||[Top][Contents]||[ Release work >> ]|
|[ < Code formatting ]||[ Up : Code style ]||[ Broken code > ]|
10.5.4 Naming Conventions
Naming conventions have been established for LilyPond source code.
Classes and Types
Classes begin with an uppercase letter, and words
in class names are separated with
Member variable names end with an underscore:
Macro names should be written in uppercase completely,
with words separated by
Variable names should be complete words, rather than abbreviations.
For example, it is preferred to use
thickness rather than
Multi-word variable names in C++ should have the words separated by the underscore character (‘_’):
Multi-word variable names in Scheme should have the words separated by a hyphen (‘-’):