Find file History
Pull request Compare This branch is 79 commits behind arcturo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
chapters
site
01_introduction.html
02_syntax.html
03_classes.html
04_idioms.html
05_applications.html
Gemfile
LICENSE
README
Rakefile
index.html

README

A little book on CoffeeScript and building RIAs.

http://coffeescript.org

TODO:

* When discussing multiline comments, it may be worthwhile to mention that multiline strings and regexes take the same form: """ and ///, respectively.

* "Semicolons were the cause of much debate in the JavaScript community, and behind some weird interpreter behavior." ... Could be more detailed here. Perhaps something like: "Newlines in JavaScript already cause semicolons to be automatically inserted in many cases, but not all of them, which leads to trouble. CoffeeScript simply allows newlines to end each statement."

* "As you can see above, if the if statement is on one line, you'll need to use the then keyword" ... the "then" keyword can actually be in any place where you'd otherwise put an indented block, throughout the language.

* The Max/Min trick is great, but will fail for really large arrays, which is worth mentioning. (Functions can only take so many arguments in certain browsers).