How to Name Classes - LopulBodon/CS_CodingStandards GitHub Wiki

Core Löpül Bodon classes start with LB prefix followed by an underbar (_). After the prefix, class name comes.

Examples

LB_BaseObject
LB_SystemEventManager
LB_VisualObject

Core classes that may be used in several similar projects also follow the same rule.

Examples

TBA_ for TextBasedApp
OGC_ for OnlineGameComponents
GES_ for GameEventSysyem

Classes belonging to a final product do not have to follow the prefix rule. It is suggested, but the developer can follow his/her own instincts. S/he can add a prefix, full name of the project (if it is not too long), or none.

Examples

For BookDisplayer: BD_User [sugested], BookDisplayerUser [fine], User [fine]
For OnlineCarRacing: OCR_Player [suggested], OnlineCarRacingPlayer [fine, but ugly], Player [fine]
For Mario: MRO_DataReader [suggested], MarioDataReader [fine], DataReader [fine]