4 ms·
It's pretty noticeable in the stack traces. I'm curious how you avoid the Java APIs since Clojure uses uses parts of the Java standard library for things like
by actuallyalys 10y ago
It's pretty noticeable in the stack traces.
I'm curious how you avoid the Java APIs since Clojure uses uses parts of the Java standard library for things like strings and dates rather than implementing a Clojure wrapper. Are there good Clojure libraries to use? It's been a while since I looked.
- bpicolo 10y agoNot too hard to pull in abstraction layers: https://github.com/clj-time/clj-time https://github.com/clj-time/clj-time
- jwr 10y agoIt's true that the stack traces are horrible. As for the APIs, I almost never use anything from Java directly (well, maybe except for Thread/sleep?). I use libraries like clj-time. Mind you, I'm not actively going out of my way to avoid the Java APIs, it's just that I don't encounter them that often in practice.
- mhluongo 10y agoclojure.string also helps