Category:CoffeeScript: Difference between revisions

m
Fix links
(Created page with "'''CoffeeScript''' is a programming language that compiles to Catagory:JavaScript. The language adds syntactic sugar inspired by Catagory:Ruby and Catagory:Python to ...")
 
m (Fix links)
Line 1:
'''CoffeeScript''' is a programming language that compiles to [[Catagory:Category:JavaScript|JavaScript]]. The language adds syntactic sugar inspired by [[Catagory:Category:Ruby|Ruby]] and [[Catagory:Category:Python|Python]] to enhance JavaScript's brevity and readability, as well as adding more sophisticated features like array comprehension and pattern matching.
 
With 896 watchers and 68 forks (as of November 10, 2010), CoffeeScript is ranked as one of the "most interesting" projects on Github. [http://github.com/repositories] The language has a relatively large following in the Ruby community, and has been used in production by [http://thinkvitamin.com/mobile/new-rails-like-framework-from-37signals-for-html5-mobile-apps/ 37signals]. There have been reports that official support for CoffeeScript will be included in the next point release of Ruby on Rails. [http://www.hagenburger.net/TALKS/rails-3.1-frontend-performance.html]
Line 18:
</lang>
 
In CoffeeScript, the <code>function</code> keyword is replaced by the <code>-></code> symbol, and indentation is used instead of curly braces (except when defining an [[associative array]]), as in [[Catagory:Python]]. Also, parentheses can usually be omitted. Thus, the CoffeeScript equivalent of the snippet above is
 
<!-- Ruby is probably the most similar language that GeSHi supports -->
Line 41:
* [http://github.com/jashkenas/coffee-script/ GitHub repository]
* [http://twitter.com/coffeescript @CoffeeScript] - Twitter feed
* [http{wp://wikipedia.org/wiki/coffeescript |Wikipedia] Entry]]
 
[[Category:JavaScript programming language family]]
Anonymous user