OpenCine.Coding Guidelines

From apertus wiki
Revision as of 10:39, 6 July 2018 by Sebastian (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In order to help everyone easily understand the code, it must adhere to certain style rules:

  • 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

Task 635