Hacker News new | ask | show | jobs
by chrisbroadfoot 5419 days ago
Right, I just read the comments below. There's no mention of CoffeeScript anywhere.

CoffeeScript is not JavaScript. If it's a JavaScript framework, please give code examples in JavaScript.

2 comments

CoffeeScript compiles to Javascript. Batman.js can most certainly be a Javascript framework and give examples in CoffeeScript. Many people prefer CoffeeScript for a variety of reasons, including readability.

Also, you aren't entitled to dictate instructions to other people who are giving you the benefit of their hard work. It's rude and obnoxious.

Maybe the guy you're replying to edited his post, but "If it's a JavaScript framework, please give code examples in JavaScript"--to me--reads as a rather polite request, rather than a dictum as you suggested.
But there are other problems with the comment.

There's no mention of CoffeeScript anywhere

It's in the 2nd paragraph of the docs. Not prominent, but somewhere.

CoffeeScript is not JavaScript

Technically true, I suppose, but they are beyond related.

If it's a JavaScript framework

Maybe it's a CoffeeScript framework? My sense is that at the very least, the use of CoffeeScript is an important aspect of the project.

Your strawman argument that I'm dictating instructions is rude and obnoxious. Read my post again.
Mea culpa, and I'm truly sorry. I mistook your plea for a demand. Seppuku at dawn?
Except for at the top of the example you pasted, and at the top of the documentation page, under "Introduction" in big letters, whe it says "batman.js is a framework for building rich single-page browser applications. It is written in CoffeeScript and its API is developed with CoffeeScript in mind, but of course you can use plain old JavaScript too."

Where were you looking?