Live data from Hacker News

SICP in Clojure

afronski.pl

41–44 of 44 posts

Re: SICP in Clojure

#41
post #21
post #19

Earlier quoted context omitted.

I dunno. I spent some time learning Clojure but came to the conclusion that it's really only a good tool if you are also heavily committed to Java -- too many Java stack traces, too many functions where the answer is "use Java", too much time looking at Java source code. I don't hate Java, but that wasn't what I was hoping for. (Haskell is a different story, very different pros and cons.)

ClojureScript is a very good tool without any Java commitment.

Interesting. I haven't used ClojureScript.

Re: SICP in Clojure

#42

Earlier quoted context omitted.

I've been writing Python a lot coming from a Scheme/SICP background too, and I've slowly come to a sort of solution to this problem that works for me. Basically, what it comes down to is realizing that a lot of the libraries and frameworks out there are smoke and mirrors: they provide an initial solution to a common problem, but when you start getting into the details of your problem, the problem you are trying to so…

would love to see an example of your code style...github account?

Sorry, there's just no way I'm going to link this account to my real-world identity. I speak far too freely with this handle.

Re: SICP in Clojure

#43

Earlier quoted context omitted.

I've been writing Python a lot coming from a Scheme/SICP background too, and I've slowly come to a sort of solution to this problem that works for me. Basically, what it comes down to is realizing that a lot of the libraries and frameworks out there are smoke and mirrors: they provide an initial solution to a common problem, but when you start getting into the details of your problem, the problem you are trying to so…

would love to see an example of your code style...github account?

A lot of my thoughts on this subject were inspired by this Tweet: https://twitter.com/garybernhardt/status/616327747435036672

Maybe check out Gary Bernhardt's code?

Re: SICP in Clojure

#44

I've been feeling the past few weeks the repeated impact of hitting a wall. Programming was starting to feel like grinding. I felt wistful for SICP, when programming was full of big ideas and elegant new approaches to problems my unprincipled brain's first instinct was to clobber by brute force -- and learned, quickly, in Scheme, it's hard to be artless. It is, I think, harder code gracelessly in Scheme than to code…

I tried to use Clojure exclusively at work for couple of years. The problem was I couldn't figure out what my code when I try to go back and read it. I was able to write really succinct code by building up abstractions, but it was much harder to figure out what those abstractions meant few months down the line. I realized that inorder to figure out what the code does, I had to re-run the computations in my memory. Went back to python and I am loving it.
Post reply on HN