Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
What is Coffeescript and How can we use that?
Is it useful or we can go with Javascript?
Give small eg or link to learn about that.
Posted
Comments
Sergey Alexandrovich Kryukov 23-Feb-12 2:21am    
Incorrect question. If it is not clear to your why it is incorrect, there is nothing to talk about.
--SA
Arunprasath Natarajan 23-Feb-12 2:59am    
thank you
Ed Nutting 23-Feb-12 2:26am    
Please use Google and read the CoffeeScript home page....

CoffeeScript code compiles one-to-one into the equivalent JavaScript, and there is no interpretation at runtime. You can use any existing JavaScript library seamlessly from CoffeeScript (and vice-versa). The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.

Nice basic tutorial is available at http://adamjspooner.github.com/coffeescript-meet-backbonejs/[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 23-Feb-12 2:25am    
Good answer, in a second of mine. :-)
My 5.
--SA
Please see:
http://en.wikipedia.org/wiki/CoffeeScript[^],
http://coffeescript.org/[^].

The question of "usefulness" makes no sense at all. You first need to understand what do you want to do.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900