在clojure 中, (if nil ...) 会工作得很好。所以很多情况下都可以用nil 安全.我还没有看到一个Java 代码库中没有像 if(foo != null) { ... 这样的代码。到处。
確定! 回上一頁