# Is it better for Discourse to use JavaScript or CoffeeScript?

**URL:** https://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153
**Category:** Development
**Created:** [2013年二月15日 13:34 UTC](https://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153 "2013-02-15T13:34:20Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![Superuser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/superuser/32/122141_2.png) [@Superuser](https://meta.discourse.org/u/Superuser)
#### Post date: [2013年二月16日 00:35 UTC](https://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153/18 "2013-02-16T00:35:55Z")

</div>

CoffeeScript has significant whitespace.

So instant no. It makes it a pain in the butt to parse. It’s annoying. Most people (except for Python developers) don’t like it. Due to being difficult to parse, you _will_ have problems when you try to refactor. Not to mention the problems of re-indenting everything when you have really long and ugly blocks you want to clean up (happens).

Stick with JS. More people are experienced with JavaScript afterall and critical mass in attracting developers is important for Discourse.

---

_[View the full topic](https://meta.discourse.org/t/is-it-better-for-discourse-to-use-javascript-or-coffeescript/3153)._
