Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Dark Ages

tldr; there are standards now


I'm too lazy to list all of them, so here's a style guide that pretty much adheres to what we've already been doing

https://google.github.io/styleguide/cppguide.html


Main Points

  • snake_case for variable names
  • camelCase for namespaces and classes
  • 4 space indent
  • Curly bracket on the same line


The Good Old Days (2020-2022) (sad)

tldr; There are no standards.


Currently, there are no team coding standards. With so few developers it doesn't make sense to have everyone conform to an arbitrary standard.

That being said, people need to be able to review your code and you may not be the only developer in a code base. For example, if all of your code is on one line, no one will read it and it will never work.

In general, make your code readable and reasonable, no one wants to decipher what a 200 character line is doing.

  • No labels