r/programming • • Mar 16 '16

The Deep Roots of Javascript Fatigue

https://segment.com/blog/the-deep-roots-of-js-fatigue/
143 Upvotes

67 comments sorted by

View all comments

0

u/[deleted] Mar 16 '16

[deleted]

8

u/pakoito Mar 17 '16 edited Mar 17 '16

Summarize me Typescript vs ClojureScript functionality and capability-wise in less than two paragraphs, go!

6

u/kirbyfan64sos Mar 17 '16

ClojureScript is Clojure. TypeScript is JS.

ClojureScript is a LISP-y language that encourages functional programming and immutability. I believe it's also untyped (I think Typed Clojure works with it, though). TypeScript is still very much JS; although it supports FP, it still tends to lean towards a more mutable, OO-based coding style. TS also makes it really easy to interface with existing JS libraries and the rest of the (ever-changing) ecosystem; not sure about ClojureScript.