OpenCine.Coding Guidelines

From apertus wiki
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