Springroll Code Styleguide

yanshcherbakovatredspace edited this page Oct 11, 2016 · 1 revision

Springroll Code Styling Conventions

Springroll's code style follows minimal conventions so that it is flexible to suit most developers' coding styles. However the following code conventions should be followed when contributing to the Springroll library:

  • Curly braces should be on their own lines
  • Limit lines to 100 characters
  • Use hard tab indentation
  • Private variables should have a leading underscore
  • Use camel case for all variables and function names
  • Use pascal case for classes
  • Use all caps for constants
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.