3 ms·
On the other hand, the intent of the Java code is a lot more clear.
by adsr 15y ago
On the other hand, the intent of the Java code is a lot more clear.
- Jach 15y agoI guess. Though that's easily fixed by a simple comment (both functions would be documented if this was production code, and in clojure if you're in the repl you can just do (doc func) to get its documentation). Or you can always unroll the loop.