So we've waited years for good error messages for almost a decade, and we get:
More distinct error types: Arithmetic/Compile/Syntax exceptions vs Runtime exceptions
Inclusion of more information around the error: symbol given, macro being defined
Suppression of gook dumped into the error by spec.
Fantastic! It's been 2 years since Spec was released, and almost 10 years since Clojure 1.0. And we're finally getting features that any self-respecting language should include in the original release. And in the mean time clojure developers have had to rationalize away why these errors are so bad:
What frustrates me is being told that Clojure doesn't need good error messages, because "garbage in, garbage out", or REPL driven development means we don't need good stack traces. And now it all matters because the core devs care now.
Too little, too late. From what I can tell, those who would be impacted by this have already left the language.
-4
u/clj_user Aug 13 '18
So we've waited years for good error messages for almost a decade, and we get:
More distinct error types: Arithmetic/Compile/Syntax exceptions vs Runtime exceptions
Inclusion of more information around the error: symbol given, macro being defined
Suppression of gook dumped into the error by spec.
Fantastic! It's been 2 years since Spec was released, and almost 10 years since Clojure 1.0. And we're finally getting features that any self-respecting language should include in the original release. And in the mean time clojure developers have had to rationalize away why these errors are so bad:
https://lispcast.com/clojure-error-messages-accidental/
https://www.youtube.com/watch?v=FihU5JxmnBg
http://blog.cognitect.com/blog/2017/6/5/repl-debugging-no-stacktrace-required
What frustrates me is being told that Clojure doesn't need good error messages, because "garbage in, garbage out", or REPL driven development means we don't need good stack traces. And now it all matters because the core devs care now.
Too little, too late. From what I can tell, those who would be impacted by this have already left the language.