4 ms·
All classes in Java.lang are automatically imported. It’s not uncommon to see Java calls within clojure code. With aot it generates Java classes, calls those
by moi2388 1y ago
All classes in Java.lang are automatically imported.
It’s not uncommon to see Java calls within clojure code.
With aot it generates Java classes, calls those stubs and dispatches.
Stack traces are half clojure, half Java.
It’s not just clojure, I feel the same with for example F# which makes calls to C# entities.
It might not be deal breaking for you. It’s also very pragmatic.
However imo it does clearly violate the principles from his talk. They are intertwined. Easy, not simple by his own definition.
Apart from that, very fun language though.