[CONF] Apache Tapestry > CoffeeScript

2014-06-23 Thread Howard M. Lewis Ship (Confluence)














  


Howard M. Lewis Ship edited the page:
 


CoffeeScript   






...
The tapestry-web-resources module adds the ability to dynamically compile CoffeeScript to _javascript_ in the running application, It is recommended for anyone who want wants to use CoffeeScript in their application ... just do the compilation at runtime (with access to Tapestry's full exception reporting capabilities).






 View Online  · Like  · View Changes  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Tapestry > CoffeeScript

2014-06-23 Thread Howard M. Lewis Ship (Confluence)














  


Howard M. Lewis Ship edited the page:
 


CoffeeScript   






...
However, for all that, it is very close to _javascript_; it simply rounds out many of the rough edges of _javascript_ (and adds a few of its own). As wide ranging as its CoffeeScript syntax iscan be, there's generally a very close mapping from CoffeeScript to _javascript_.
...






 View Online  · Like  · View Changes  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Tapestry > CoffeeScript

2014-06-23 Thread Howard M. Lewis Ship (Confluence)














  


Howard M. Lewis Ship edited the page:
 


CoffeeScript   






...
On the controversial side, it uses significant whitespace to denote blocks of code (like Python or Haskell) rather than curl braces (like Java, _javascript_, or Ruby). In fact, it draws influences from a wide rage of other languages, incorporating many functional programming features, a single rudimentary class system, string interpolation, destructuring assignment, and more.
...






 View Online  · Like  · View Changes  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






[CONF] Apache Tapestry > CoffeeScript

2014-06-23 Thread Howard M. Lewis Ship (Confluence)














  


Howard M. Lewis Ship created a page:
 


CoffeeScript   





 CoffeeScript is a language to compiles down to _javascript_.
It can be quite controversial, but also quite effective.
On the controversial side, it uses significant whitespace to denote blocks of code (like Python or Haskell) rather than curl braces (like Java, _javascript_, or Ruby). In fact, it draws influences from a wide rage of other languages, incorporating many functional programming features, a single class system, string interpolation, destructuring assignment, and more.
However, for all that, it is very close to _javascript_; it simply rounds out many of the rough edges of _javascript_ (and adds a few of its own). As wide ranging as its syntax is, there's generally a very close mapping from CoffeeScript to _javascript_.
CoffeeScript code often approaches Python's goal of being a "executable psuedo-code"; code that looks like a placeholder will actually run. Some people find it more pleasant to read than _javascript_ ... more essence and less ceremony.
You can still write bad code in CoffeeScript. You can write bad code in any language.
All of Tapestry's client-side code in written in CoffeeScript and compiled, at build-time, to _javascript_.
The tapestry-web-resources module adds the ability to dynamically compile CoffeeScript to _javascript_ in the running application, It is recommended for anyone who want to use CoffeeScript in their application ... just do the compilation at runtime (with access to Tapestry's full exception reporting capabilities).





 View Online  · Like  
 Stop watching space  · Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software