Permalink
Browse files

Add to CoffeeScript styleguide

* Prefer `is`, `or` and `and`
  • Loading branch information...
1 parent 95a76b7 commit 6f28a79346beb91e0888ac5cd2e62889fc8a8a8d @jessieay jessieay committed Nov 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 style/README.md
View
2 style/README.md
@@ -73,6 +73,8 @@ CoffeeScript
* Use `CamelCase` for classes, `lowerCamelCase` for variables and functions,
`SCREAMING_SNAKE_CASE` for constants, `_single_leading_underscore` for
private variables and functions.
+* Prefer `is` to `== ` or `===`
+* Prefer `or` and `and` to `||` and `&&`
Ruby
----

0 comments on commit 6f28a79

Please sign in to comment.