Skip to content

[Draft] Code style

Yevgeniy Zakharov edited this page May 14, 2019 · 22 revisions

This is a very beginning of defining a code style of the lib

  1. Use using instead of typedef - using is more readable
  2. Class can have super alias in its' score only to its' superclass. Otherwise give it a different name
  3. Curly braces after if, for and while must be put on the same line not on the next one - same code less lines
Clone this wiki locally