Fork me on GitHub
#clojure-dev
<
2019-04-29
>
Ivan Koz22:04:11

shouldnt zero? return false for non-numbers including nil? Noticed it throws nullpointer for nil values.

Ivan Koz22:04:45

feels like such behavior will fit clojure better

Alex Miller (Clojure team)22:04:40

Most of the numeric preds take only numbers

Alex Miller (Clojure team)22:04:54

There are some perf implications

Ivan Koz22:04:57

not sure if performance that much important to let nullpointer\exception possibility in core

Ivan Koz22:04:26

¯\(ツ)

Alex Miller (Clojure team)23:04:52

With numeric ops, it is

hiredman23:04:36

core is full of ways to get npes