Why are Clojure stacktraces so long?

后端 未结 2 1559
礼貌的吻别
礼貌的吻别 2021-02-06 22:52

I\'ve written some toy interpreters/compilers in the past, so I associate stacktraces referencing lines in compiler source files with compiler bugs.

If I add the followi

2条回答
  •  别跟我提以往
    2021-02-06 23:41

    Clojure stacktraces are noisy, and that is a complaint that has apparently been heard. Some librairies provides nicer stacktraces, like clj-stacktrace or the expectations library.

    But this is something that is also being improved in Clojure itself, for instance with the recent 1.7 release. See also the clojure.stacktrace api.

    So I bet it will only get better over time. Things are very exciting in the Clojure{Script} ecosystem right now.

提交回复
热议问题