clojure-dev

Issues: https://clojure.atlassian.net/browse/CLJ | Guide: https://insideclojure.org/2015/05/01/contributing-clojure/
2019-12-26T13:32:20.079100Z

[stupid question] why was if-not not implemented by exchanging then and else ? https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/core.clj#L765

➕ 1
2019-12-27T15:00:06.081300Z

I don't think it's a stupid question. I've asked this before (I tried to find this conversation, but couldn't find it). I think it's for readability reasons. The overhead is considered to be negligible (mostly macrotime)

👍 1
2019-12-26T17:02:39.080700Z

Avoids the need and slight extra time to do a bit in the expression, likely

2019-12-26T17:03:07.081200Z

Sorry missed one not in your question :)