Questions tagged [coffeescript]

For questions about CoffeeScript - a little language that compiles into JavaScript.

Filter by
Sorted by
Tagged with
1 vote
2 answers

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) ...
Jared Smith's user avatar
  • 1,839
2 votes
1 answer

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 ...
AlbertEngelB's user avatar
0 votes
1 answer

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 ...
Cristian's user avatar
  • 125
-1 votes
1 answer

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-...
Ansd's user avatar
  • 161
-1 votes
2 answers

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 ...
Erik  Reppen's user avatar
  • 6,251
0 votes
2 answers

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?
user1594061's user avatar
10 votes
6 answers

CoffeeScript and Named Functions

Elsewhere, an argument has arisen over the terminology of a named function in CoffeeScript. In particular someone referred to something like this: foo = -> console.log("bar") as a named ...
Winston Ewert's user avatar
6 votes
5 answers

Language Design: Are languages like Python and CoffeeScript really more comprehensible?

The "Verbally Readable !== Quicker Comprehension" argument on is really potent and interesting. I and I'm sure others would be very interested ...
kittensatplay's user avatar
4 votes
4 answers

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 ...
ming_codes's user avatar
3 votes
2 answers

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 ...
Muhammad Hasan Khan's user avatar
11 votes
4 answers

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 ...
Eastern Monk's user avatar
49 votes
6 answers

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 there are impressive examples. On the other hand I have ...
Philip's user avatar
  • 1,669