For questions about CoffeeScript - a little language that compiles into JavaScript.
1
vote
2answers
112 views
What is the use case for shadowing variables?
One of the things the coffeescript programming language is criticized for is its treatment of variable declarations and scope (example).
The answers to this question (and the blog I linked to above) ...
2
votes
1answer
119 views
Is Current CoffeeScript Module Pattern Valid?
I have a Node.js web application that's written in CoffeeScript, which has a set of "services". These various services are currently exposed as a CoffeeScript class, which does a few things that I ...
0
votes
1answer
108 views
Pattern that prevents events to trigger themselves
I am working at the client-side part of a web application, that is responsible for getting answers from users for specific questions and storing and restoring them from the database (or cookies) and I ...
-1
votes
1answer
122 views
How to make a non-english clone of CoffeeScript? [closed]
I want to make a non-english programming language that is identical to what CoffeeScript is to JavaScript. What I mean is that I don't want to build my own design or syntax. Just want to have a non-...
-1
votes
2answers
314 views
How Challenging is it to Mix Pure JS with CoffeeScript on a Team? [closed]
I keep running into Senior JS positions where they want CoffeeScript. The reason I don't use CoffeeScript is that my first impression of it was that it puts limitations on JS OOP features that I find ...
0
votes
2answers
323 views
How can CoffeeScript be written in CoffeeScript? [duplicate]
How is it possible that written a programming language like CoffeeScript in itself like CoffeeScript? Firstly CoffeeScript doesn't exist that read CoffeeScript scripts and interpret them?
7
votes
6answers
11k views
CoffeeScript and Named Functions
Elsewhere: an argument has arisen over the terminology of a named function in CoffeeScript. In particular somebody refereed to something like this
foo = ->
console.log("bar")
as a named ...
6
votes
5answers
2k views
Language Design: Are languages like Python and CoffeeScript really more comprehensible?
The "Verbally Readable !== Quicker Comprehension" argument on http://ryanflorence.com/2011/case-against-coffeescript/ is really potent and interesting. I and I'm sure others would be very interested ...
4
votes
4answers
2k views
How is CoffeeScript influenced by Haskell?
I've been using CoffeeScript for a while now. On Wikipedia, it is said that CoffeeScript is influenced by Haskell. But after I check out the syntax of Haskell, I have found little resemblance from ...
2
votes
2answers
940 views
What is the reason behind the if syntax of CoffeeScript?
In most other languages the condition comes before the statement to be executed when the condition is met. However, in CoffeeScript (and maybe some other languages) the syntax is:
number = -42 if ...
11
votes
4answers
4k views
Should I invest time learning Coffeescript? [closed]
I am a freelancer and I earn my bread and butter by helping others write better java-script code. I have good experience with most of the JavaScript frameworks around.
I am wondering if it is worth ...
45
votes
6answers
13k views
What are the pros and cons of Coffeescript? [closed]
Of course one big pro is the amount of syntactic sugar leading to shorter code in a lot of cases. On http://jashkenas.github.com/coffee-script/ there are impressive examples. On the other hand I have ...