by afdssfda · 15y ago · 0 comments
I'm not sure that convinces me to try Clojure. To me less typing is great, but only if it still makes sense and I don't have to come at it a few ways before I get it right. That is probably why I never took to Perl. It just looks like garbage and I couldn't get past that.
He's talking specifically about writing _new_ code. I think the implication here is that Clojure encourages more consideration up-front, resulting in designs that are easier to modify down the road.
Given how much time is spent maintaining code vs writing new code this seems like a reasonable trade-off.
So I do less up-front design, but wind-up with somewhat better code at the end.
The other weird effect is that I find that this helps me think better about coding in something like C as well. A little experimentation at the REPL helps me understand pieces of the solution better.
It has the side-effect of teaching you to think through your ideas more (wait, I thought we were supposed to avoid side effects! ;) )
Never had any issues playing around with or reading others emacs lisp macros though. After the initial within within brain fuck part is over at least.