repl-y (Lein's default repl) only shows the first line of the stack trace rather than the whole thing. nrepl.el can optionally behave the same.
It's a good default - as I see it, it relieves 90% of the pain associated to errors in clojure. As for the contents of those first-lines - it often is unrelated to the actual cause of the error - but determining it is absolutely non-trivial. That's why Java displays the whole traces, all lines can be necessary. Not checking the validity of every single possible parameter a fn receives, or every single interaction that can occur between pieces of code, is just a fact of life when programming in dynamic languages. Finally, what's a good language, error-info wise? Can't recall one. On Thursday, January 24, 2013 8:27:48 PM UTC+1, Michael Klishin wrote: > > There is a discussion about Clojure error messages and how > specifically they can be improved on clojure-dev: > https://groups.google.com/forum/?fromgroups=#!topic/clojure-dev/9zjXebUMgzk > > Because poor error messages primarily trip newcomers to the language, > I am a bit surprised to see this issue discussed on the closed > mailing list said beginners cannot join [quickly or at all]. > > So, if you have something specific to say on the topic, say it here. > -- > MK > > http://github.com/michaelklishin > http://twitter.com/michaelklishin > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en