Open
Description
From the doc ==>
(clojure.string/upper-case "bruce")
;; bad
(.toUpperCase "bruce")
But looking at clojure.string/upper-case
user=> (source clojure.string/upper-case)
(defn ^String upper-case
"Converts string to all upper-case."
{:added "1.2"}
[^CharSequence s]
(.. s toString toUpperCase))
it is but a call to interop. It will be nice to know why one is preferred over the other.