Difference between revisions of "OpenCine.Coding Guidelines"
From apertus wiki
(Created page with "In order to help everyone understand easily the code, it must adhere to a certain style: * Private attributes should be prefixed with an underscore ( _ ). ** float _posX * In...") |
(No difference)
|
Revision as of 21:35, 5 July 2018
In order to help everyone understand easily the code, it must adhere to a certain style:
- Private attributes should be prefixed with an underscore ( _ ).
- float _posX
- Interfaces should be prefixed with an upper case I.
- IProcessor
- Variables or attributes should start with a lower case letter and methods, classes, or interfaces with an upper case letter,
- int frameCount, void Process(), class FrameProcessor
- Curly braces should be always placed, even for single lines in if statements.
See also