is programming language, which is built on top of
server-side can be written by
The CoffeeScript is a
Node.js package, so you need to install it with
Node Package Manager. There assume you have installed node.js. You can watch here to see how to install node.js if you dont’ know it. Putting below commands to install CoffeeScript:
CoffeeScript supports many commands to let you build your application. You just need to input below command line:
It will print awesome useful content:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Let’s give a example, how to use CoffeeScript to solve a mathematics problem. Here we will solve the first mathematical problem of
Project Eluar. The problem is below:
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000.
And now we solve this problem with CoffeeScript elegantly:
Cheers, I think you will love it.