Skip to content

Use consistent code style #1

Description

@cartoonist

The code style is not consistent throughout the project. Most notable inconsistencies are:

  • variable names and naming convention
  • in some cases, type should be manifest (avoid using auto keyword in those cases)
  • int* x, int *x, int * x or int*x? choose one!
  • multi-line indentation
  • function definition style and indentation
  • spacing (e.g. < class TYPE > or <class TYPE>; func(1) or func (1))
  • aligning variable names is necessary?
  • one-line function bodies style

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions