Tag: clojure and clojurescript

  • Using Clojure macros with cljx

    My first Clojure Macro and the problems it’s caused me..

  • Clojure Multimethods

    Wow! Now this is weird! I honestly don’t know what to make of Clojure’s ad-hoc hierarchies. I have, I confess, been missing a little bit of the polymorphism I’m used to with classic OO class-hierarchies. This looks like it’s the answer to that. But hmmmm …. if I start down this path am I going…

  • Lazy Lists Are Late-Binding

    A thought that struck me in the swimming pool today. Lazy lists are another kind of late-binding. Everyone hypes lazy lists by saying “wow! you can even have infinitely long lists!” To which the natural response is, “So what? The universe is finite and my life and this program are certainly finite, why should I…

  • Are Languages Still Evolving Towards Lisp?

    My Quora answer to the question “Is it still reasonable to say mainstream languages are generally trending towards Lisp, or is that no longer true?“ Based on my recent experiments with Haskell and Clojure. Lisp is close to a pure mathematical description of function application and composition. As such, it offers one of the most…

  • Clojure

    OK. Consider me won over. Lisp is great to work with. The things that grabbed me about FP in Erlang and Haskell (pattern-matching arguments, partial application, lazy evaluation) are all here. My code is as concise as Erlang and damned nearly as concise as Haskell (I think the line count is similar though the number…

  • Clojure Debugging

    Has to be said that Clojure’s runtime debugging support is the worst ever. A call stack of irrelevant Java information and no idea which line of Clojure actually triggered the error. At least with CoffeeScript you can look into the Javascript at the appropriate line-number and see sort of what it’s doing and then map…

  • Clojure / Quil

    Having decided that this year was my Haskell year, I now find myself dabbling with … er … Clojure. Why? Well, basically because of Quil which is a wrapping of the Processing library for Clojure. I need to do some Processing-like graphics, and I want to learn the FP way of doing it. Haskell would…

  • Aaaargh! Quora. No! (Should I learn Clojure for Android programming?)

    Having contrasted Quora, positively with StackOverflow, I find that Quora is also starting to play the “word-shaping” game by which either an algorithm or a tone-deaf moderator decides to constrain how you are allowed to express your questions 🙁 No idea why they really feel the need to do this. But it basically has the…