ClojureScript for Skeptics - Derek Slager

ClojureTV · 71K views · 2015 · 41:09

Open on YouTube

Functional programmingWeb developmenttalkdated

Why Hacker News recommends it

Recommended to JavaScript skeptics as a persuasive case for ClojureScript, covering Closure Compiler optimizations and code-splitting.

What it is

Derek Slager's Clojure/conj talk argues that ClojureScript is a pragmatic choice for web development. He addresses common objections, recent improvements, tooling and use cases where it shines.

Recommended by 4 HN commenters across 3 different months, 2015 to 2017.

What Hacker News said

Strong rec rockmeamedee · 2017-05 · on “Is Clojure dying, and what has Ruby got to do with it?”

I just finished watching this talk "ClojureScript for Skeptics" ( [this video] ) that laid out the pros of ClojureScript and completely sold me on trying it out. Weird seeing this article about Clojure dying right after, too. In this talk I watched, the speaker argues for ClojureScript for SPAs because it has: * an excellent standard library (great functional programming so no need for lodash or other hacks, no issues with things like map(Integer.parse), solid date support, etc) * Go-level easy concurrency * Immutable types built-in for a fast React experience (immutable.js by default) * built-in Google Closure Compiler for optimizing, (also with sourcemaps and devtools) * built-in tree-shaking (

Recommends edko · 2015-12 · on “What Holds Me Back from ClojureScript”

ClojureScript has some very powerful tools available (figwheel, om/next), and the community is working on resolving many of the issues mentioned in the article. Derek Slager's presentation "ClosureScript for Skeptics" is really good and covers many of these topics ( [this video] ). Myself, I prefer ScalaJS because I already know Scala, the tooling is excellent, it is fast, and the resulting JS is of reasonable size. Fortunately, it is not an either/or decision. Both compile to JS and can interoperate without too much effort.

Recommends Flow · 2015-12 · on “JavaScript Fatigue”

I once tried Yeoman. Angular was the hottest thing ever and I was recommended to use Yeoman to set up a template project. The damn thing downloaded 30000 files into my project. It took a while, but nothing I really noticed until I saw dropbox working for 40 minutes. I just can't take some projects seriously after that. Anyway, compare your problems and effort to things like this: Building a tictactoe game in ClojureScript with reagent and figwheel: [LINK] ClojureScript for Skeptics: [this video] Notice the modularization section that starts around 32m.

Recommends christophilus · 2017-08 · on “React and Redux are a joke right?”

Clojurescript's bundle size for real world apps is decent, especially given the power it provides. If all you're doing is a 3 line JavaScript, Clojurescript won't benefit you. But if you're writing a complex application,it will beat or match your typical JS stack in terms of code size. I suggest watching this: [this video]

Cites espeed · 2016-12 · on “Closure Compiler in JavaScript”

True, but it helps fix the TTFX metric -- "Time to First XML" ;-) -- Derek Slager made a case for this in his talk at the Conj: "ClojureScript for Skeptics" [this video] The remaining bit of Java is like "a little piece of kelp that's stuck to the hull, and even though it's little, you don't want anything stuck to the hull" ( [LINK] ). TTFX 1: [LINK]

Cites ekzy · 2016-12 · on “The Next Five Years of ClojureScript”

The only problem with clojurescript is that it is much harder to learn than most of the other JS framework out there. Simple is not easy, remember? Clojurescript for skeptics: [this video]