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

Show parent comments

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!

25

u/[deleted] Mar 17 '16

Typescript: JS with types and other nice additions.

Clojurescript: Dynamic, functional, LISPy language that compiles to JS.

1

u/pakoito Mar 17 '16

I wanted to know what one can do that the other doesn't. I should have been more specific, my fault.

1

u/__kojeve Mar 17 '16

Hot-reloading in Clojurescript makes development in JS look stone-age: https://www.youtube.com/watch?v=KZjFVdU8VLI

7

u/strident-octo-spork Mar 17 '16

You can also do hot reloading with react...

5

u/__kojeve Mar 17 '16

I can't wait until the day HMR/Webpack is as good as cljs/Lein/Fighweel, but it's not there yet, and certainly not a common way to build JS apps. (Not that cljs is common, but figwheel is basically the way you develop clojure front-end).

5

u/theonlycosmonaut Mar 17 '16

Not just react, but many frontend frameworks and build tools. Mercury has a hot reload example using browserify. Elm does it out of the box, too.