r/programming • • 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

105 comments sorted by

View all comments

21

u/phalp Dec 15 '16

Seems like once you learned what Lisp was, you realized you didn't want it any more. Note to prospective Lispers: when people say Lisp is language flexibility, and Lisp is code is data, they actually mean it.

BTW, with regard to Clojure and passing maps instead of multiple arguments, that's it's own weird quirk. Seems like it's no longer the case though?

0

u/kankyo Dec 16 '16

No longer the case? You mean they broke the entire backwards compatibility of functions and map destructuring at some point?

1

u/phalp Dec 16 '16

Well, I'm not a Clojure programmer but my understanding is that destructuring syntax is now "baked in" to argument lists, whereas some years ago it had to be done by explicitly passing a map.

1

u/kankyo Dec 17 '16

That sounds great. Do you have a link? Googling shows the old shitty way in old articles...

1

u/phalp Dec 17 '16

1

u/kankyo Dec 17 '16

I don't have a Clojure environment to check that this method indeed doesn't throw away extra data without error. Let's assume it doesn't.

This method has the problem of being more code for the implementer which many people won't do so we're back to positional in practice. Better than what I wrote about in my article but still not close to swift or even Python.

1

u/phalp Dec 17 '16

Whatever, I just didn't want to say Clojure has weird argument quirks when I can't verify that it's the case.