Need advice about which tool to choose?Ask the StackShare community!

ClojureScript

308
290
+ 1
2
CoffeeScript

3.7K
1.2K
+ 1
1K
Add tool

ClojureScript vs CoffeeScript: What are the differences?

What is ClojureScript? A Clojure compiler targeting JavaScript. ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.

What is CoffeeScript? Unfancy JavaScript. CoffeeScript is a little language that compiles into JavaScript. Underneath that awkward Java-esque patina, JavaScript has always had a gorgeous heart. CoffeeScript is an attempt to expose the good parts of JavaScript in a simple way.

ClojureScript and CoffeeScript can be primarily classified as "Languages" tools.

ClojureScript and CoffeeScript are both open source tools. CoffeeScript with 15.2K GitHub stars and 1.99K forks on GitHub appears to be more popular than ClojureScript with 8.12K GitHub stars and 724 GitHub forks.

Typeform, thoughtbot, and Trello are some of the popular companies that use CoffeeScript, whereas ClojureScript is used by Swish, AdStage, and Multunus. CoffeeScript has a broader approval, being mentioned in 364 company stacks & 170 developers stacks; compared to ClojureScript, which is listed in 24 company stacks and 17 developer stacks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of ClojureScript
Pros of CoffeeScript
  • 2
    Functional and stable
  • 199
    Easy to read
  • 179
    Faster to write
  • 126
    Syntactic sugar
  • 104
    Readable
  • 104
    Elegant
  • 73
    Pretty
  • 53
    Javascript the good parts
  • 48
    Open source
  • 44
    Classes
  • 35
    "it's just javascript"
  • 16
    Compact code
  • 15
    Easy
  • 13
    Simple
  • 13
    Not Javascript
  • 2
    Does the same with less code
  • 1
    I'm jobs I'm software engineer

Sign up to add or upvote prosMake informed product decisions

Cons of ClojureScript
Cons of CoffeeScript
    Be the first to leave a con
    • 3
      No ES6
    • 1
      Corner cases in syntax
    • 1
      Parentheses required in 0-ary function calls
    • 1
      Unclear what will be grouped to {…}

    Sign up to add or upvote consMake informed product decisions

    What is ClojureScript?

    ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler.

    What is CoffeeScript?

    It adds syntactic sugar inspired by Ruby, Python and Haskell in an effort to enhance JavaScript's brevity and readability. Specific additional features include list comprehension and de-structuring assignment.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use ClojureScript?
    What companies use CoffeeScript?
    See which teams inside your own company are using ClojureScript or CoffeeScript.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with ClojureScript?
    What tools integrate with CoffeeScript?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitHubGitDocker+34
    29
    42418
    JavaScriptGitHubGit+33
    20
    2080
    What are some alternatives to ClojureScript and CoffeeScript?
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Elm
    Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code.
    Clojure
    Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system.
    TypeScript
    TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
    AngularJS
    AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
    See all alternatives