HNHacker News
TopNewBestAskShowJobs

cjohansen

101 karma · joined February 16, 2009

submissionscomments
cjohansen··on Dataspex: Browse Clojure data (including databases) in Firefox/Chrome devtools
Dataspex is a new data browser for Clojure that runs in Chrome/Firefox devtools and inspects frontend ClojureScript data, backend Clojure data, databases, has an audit log with time travel ++ All this for two lines of setup code.
cjohansen··on Functional UI Programming (React, ClojureScript, live coding)
The code from the presentation is here: https://github.com/cjohansen/om-sweeper
cjohansen··on Clojure to die for
It's an expression of enthusiasm, don't take it so seriously.

min* is like min but takes a list, it's not built in. Yes, I know about apply, I still prefer min* to (apply min) in certain cases.

cjohansen··on Clojure to die for
> I think the article is overly focused on small, pragmatic syntax issues without explaining how the underlying language and runtime have _enabled_ them.

That was kinda the whole point of the post.

cjohansen··on Clojure to die for
Thanks!

I don't have any problems with the skewed "readers per effort" metrics, it was just a fun observation. If my only goal was internet fame, I would not write huge long-ass posts :)

cjohansen··on Clojure to die for
It's not really intended as an "evangelist" post. It's just describing some details that makes a big difference to me in my day-to-day work. I guess it's more of a "hey, fellow Clojure programmer, don't you agree that these details really put the icing on the cake?" kind of post.

Maybe the other post I posted the same day would give newcomers a better impression of what using Clojure is like in practice (lots more code, more in-depth): http://cjohansen.no/building-static-sites-in-clojure-with-st...

cjohansen··on Clojure to die for
I spent 10 or more hours writing "Building static sites in Clojure with Stasis" (http://cjohansen.no/building-static-sites-in-clojure-with-st... / https://news.ycombinator.com/item?id=7375425). It was written so people could enjoy it even with little Clojure experience. As a piece of supportive material, I pulled together this post about some (to me) exciting idioms in about 40 minutes. Results after one day: the afterthought is #4 on hacker news, and has 10k views. The "real" post has a mere 3k views, and is long gone from hacker news.

Who says hard work pays off?

cjohansen··on Planning, Cheating and Faking Your Way Through JavaScript Tests
Glad you liked it! :)
cjohansen··on Unit Testing 101: Are You Testing Your JavaScript?
Actually it's Linux Mint 10, but same Gnome setup :) (Also, Mint is just a slightly different wrapper on top of Ubuntu).
cjohansen··on Unit Testing 101: Are You Testing Your JavaScript?
Test automation is about preventing bugs, sure. And TDD is about software design. I don't disagree.

However, unit testing is also a nice way to find bugs. In any case, "trapping" a bug like I did in this article is often an effective way of introducing newcomers to what a unit test is.