Hacker News new | ask | show | jobs
by jgalt212 3318 days ago
> StackTraces are hard to understand: Clojure Spec has been written about a ton in this regard

developers cannot be expected to spec out every function prototype. that's just not a good use of time.

1 comments

total agree, I hope Clojure Spec will eventually be applied to most Core Clojure functions, and that information will trickle up to user defined functions. But thats only a hope, and possible based on my limited knowledge of the tool.

However, aren't most languages with the best errors messages Static and Strongly Typed?

My point was more that I think Spec was created to help address the issue. Not necessarily that it was even a good solution.

calling spec upon every core function invocation will surely be a performance hit, and a big one for tight loops.