3 ms·
These are very valid criticisms, especially the error issue. That's probably my biggest gripe about clojure. The huge error tracebacks for trivial mistakes al
by j_baker 16y ago
These are very valid criticisms, especially the error issue. That's probably my biggest gripe about clojure. The huge error tracebacks for trivial mistakes almost brings back memories of C++ templates.
I mentioned one of these particular instances on the mailing list once but didn't get any response. Perhaps it just isn't that big a deal once you work with the language a lot.
- sunkencity 16y agoThe error messages are decent when working from emacs/slime I think. My major problem is that it's rather unpredictable what kind of exceptions that can be thrown where, makes it a bit hard to write defensive code. Other than that, I like it.
- fogus 16y agoIt definitely is a big deal and I can't say for sure why your particular message was ignored -- maybe it was lost in the haze. In any case, there is an active effort to make error messages more coherent and will get better as time progresses.
- weavejester 16y agoThere are a few libraries around (like clj-stacktrace) that significantly improve the quality of stack traces. There was some talk about integrating a library like that into clojure.core, but I'm not sure if any progress has been made on it. It's a known issue, and definitely up there on the priority list to fix.