This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
also, depends what you want. whitespace preservation doesn't work with pure s-expressions for example
Bear in mind that Spec isn't optimized for parsing so it may not be a very efficient way of "parsing".
performance can also be a condideration (it might be faster to manually process the s-expr, depends on what you're doing)
main point for me is that it’s very little code / learning curve to get a lot of data about the current ns
clojure itself runs these specs during macro-expansion (but afaik only for validation, the data itself isn't used for anything in the compiler, since that all pre-dates spec).
Right, yeah, it's just a matter of scale -- how much code are you parsing and how much do you care about performance.