3 ms·
I would disagree. ClojureScript is very cool, but unless you're adept at functional languages it's another big jump for someone new to front end development.
by WhitneyLand 10y ago
I would disagree. ClojureScript is very cool, but unless you're adept at functional languages it's another big jump for someone new to front end development. Plenty of time to do CS a little later.
- bpicolo 10y agoI mean, by that same metric if you aren't familiar with JS paradigms it's a leap on it's own, no? So I don't think that's the right metric on it's own. I also think that getting started with ClojureScript is pretty simple, even if you aren't super familiar with FP (though it will definitely stretch your brain a bit). ClojureScript gives you the opportunity to write code that's somewhat imperative, just with plenty of extra parentheses.
- Touche 10y ago> I mean, by that same metric if you aren't familiar with JS paradigms it's a leap on it's own, no? A smaller leap from a OO language to JS than to ClojureScript, surely you agree there.
- bpicolo 10y agoOf course! That said, I think the typical use with ClojureScript/re-frame doesn't lead you into an academic or pedantic world of heavy FP. The benefits of being functional are largely abstracted away. You're mostly going to be writing some HTML in DSL-style reagent(1), and mapping over lists/maps. That's largely why you can get productive reasonably quickly, even with the intimidation factor still present. (1): https://github.com/reagent-project/reagent#examples https://github.com/reagent-project/reagent#examples
- Touche 10y agoI think that's just a benefit of lisps in general, they don't focus on the academic "look at how smart I am" aspects of FP that the ML languages do.