Standard Practice - SkyeTheFoxyFox/sfmlog GitHub Wiki

This page outlines standard practice for sfmlog coding.

Files

Files should end with either .sfmlog or .sfmlib. .sfmlog is for a normal code file, .sfmlib is for a library file. A project should contain a file main.sfmlog as the entry point.

Variables

Variables are up to personal preference (I don't really care what you do), but generally normal variables will be in camelCase, and macros and labels will be in PascalCase. Global variables, and macros used locally within libraries should begin with _NAME_ where NAME is replaced with some unique identifier to your library. for example _LOGGING_loggingLevel. Globals shouldn't begin with _STD_ unless they're part of the standard libraries.