Skip to content

Latest commit

 

History

History
18 lines (17 loc) · 614 Bytes

STYLE-GUIDE.md

File metadata and controls

18 lines (17 loc) · 614 Bytes

Things we do:

  • Use semi-colons to end lines in javascript code, whether they are needed or not.
  • Use jsdoc templates to document code
  • All variable names must be written in camelCase, with the first letter in lower-case. The first letters must signify the type of variable and be selected from the following: bool boolean str string (of text) cur currency int integer float floating point number date time/date

examples: intMyNumber - an integer number float - a floating point number strUserName - a username curWeeklyPay - pay for a week dateTotalHoursYear - number of hours worked in a year