HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
Brandon Bloom - Building CircleCI's Front end With Om

ClojureTV · Youtube · 64 HN points · 2 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention ClojureTV's video "Brandon Bloom - Building CircleCI's Front end With Om".
Youtube Summary
CircleCI's frontend is a large, production-caliber, open-source Om project. CircleCI has long enjoyed the benefits of Clojure to power our CI platform, so we jumped at the opportunity to be ClojureScript + Om pioneers as well. Om represents both a significant step forward in UI development and considerable new opportunities for improvements. This talk will explore the benefits and challenges we've encountered, as well as provide a roadmap for using Om in your own projects.
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Aug 14, 2015 · 64 points, 2 comments · submitted by sgrove
It is great to see ClojureScript and tradeoffs mentioned in the same sentence. I was drawn to Clojure(Script) by the promise of clean, modular, data driven applications. But I've had a hard time finding discussions about the relative weaknesses of this tool (which would make me nervous about any piece of technology).
Some of my personal opinions is that the tooling is still kinda esoteric. For a regular Javascript project, there's nothing like including a script tag and hacking on the Developer Console.

With ClojureScript, I found it is fulfilling after spending time getting used to using Emacs, setting up interactive compilation properly (and tweaking settings). Tweaking leiningen settings is a pain when the feedback cycle isn't instant. Oh, and occasionally esoteric error messages.

But really, once you get past that, and if you still have the gumption to press forward, it becomes pretty magical. I've been hacking on Clojure/Script in my free time and I find it very satisfying to make use of the abstractions that are already provided.

For CircleCi, it's the present. Their frontend is written in Om, a cljs wrapper around React.

It's much more pleasant to build UIs with lots of different states in React, because you have a full programming language at your disposal. The last js library I worked with was Knockout.js. Having to use Knockout's limited subset of a programming language to do view logic meant that lots of view logic lived in the models.

But the really big difference is in using ClojureScript. I converted CircleCI's open-source frontend[1] to Om/React and it feels much closer to backend codebase than a frontend. Brandon Bloom gave a good talk about it at Clojure/West:


Would you mind expounding a bit as to why the big difference in creating ui was clojurescript? Thank you!
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.