Hacker News new | ask | show | jobs
by klodolph 5812 days ago
I would find it much easier to follow the article if the author used traditional mathematical notation instead of Clojure. Which do you prefer?

    (* t (/ 1000 w))
or (perhaps typeset properly)

    t * 1000 / w
4 comments

Clojure notation for me. In my view, it's a lot more appropriate for today's programmer world than the traditional math notation, because computer parsing is an issue. So I prefer the moldable Lisp version.

Many programmers dislike math notation; they have bad experiences of school, and gloss over anything which reminds them of dull homework and tests. On the other hand, programming notation symbolizes a feeling of freedom.

It helps that I'm more used to Clojure's notation than traditional math notation. Also it's easily executable for me. No need to execute precise arithmetic mentally; the computer can do it.

Exactly.. i got through the first few equations and then stopped reading.
I much prefer the clojure to the mathematical notation and secretly wish academics would use code instead of traditional notation (when possible).
As someone who typically has a Clojure repl handy, I found it convenient to be able to copy-and-paste and play around with the model.