- Avoid conditional modifiers (lines that end with conditionals).
- Avoid backticks.
- Initialize arrays using
[]. - Initialize empty objects and hashes using
{}. - Prefer
==and!=toisandisnt - Prefer
||and&&toorandand - Prefer
!overnot - Prefer
@overthisfor referencing instance properties. - Prefer double quotes.
- Use hyphen-separated filenames, such as
coffee-script.coffee. - Use
PascalCasefor classes,lowerCamelCasefor variables and functions,SCREAMING_SNAKE_CASEfor constants,_single_leading_underscorefor private variables and functions. - Use zero spaces before and one space after the colon in a colon assignment (i.e. classes, objects).
coffeescript
Directory actions
More options
Directory actions
More options
coffeescript
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||