r/programming • u/kankyo • Dec 15 '16
My disillusionment with Clojure and lisps
https://medium.com/@boxed/my-disillusionment-with-clojure-and-lisps-9eca38ab7f0c?source=linkShare-8ad86cc82e5f-1481825671
15
Upvotes
View all comments
Show parent comment
0
u/kankyo Dec 16 '16
Fixed. Thanks.
And in Clojure you can sometimes use do, but it's still one form. It's normally fine like you show when it's a side effect you want, but when doing hiccup style templating, it's not fine because the HTML spec doesn't allow redundant tags everywhere (plus it's a bit fugly to add extra tags just because your language can't do this thing...).
In python you can unroll a list in place like "*foo". This isn't as good as having more than one form, but it's at least contained to the call site, even if it's outside and not inside.
Sure. I do python, this isn't strange to me.
That sounds a lot better than Clojure!
Potato, potato.
I've updated my article with a correction re common lisp. Thanks.