Clojure's keyword namespacing convention Considered Harmful

I can easily conceive of situations where it would be useful to do something like…

(filter #(= (namespace %) "foo") some-sequence-of-namespaced-keywords)

Those situations would be made much more painful and error prone if my predicate function had to wrestle with parsing between the underscores in strings.

It’s also not clear to me how using namespaced keywords degrades the readability of my programmatic names.

3 Likes