How come Clojure didn't adopt the Kawa colon-syntax when calling out to Java?

I think you get used to it.

Also, in case you didn’t know, you can use .. to make it receiver first.

(.. "1234" length)

Or ->

(-> "1234" .length)

Notice the difference though, .. also adds the . while -> only changes the order.

And, how does Kawa handle chaining? When methods have extra args?

(.. someObj (withName "John") (withAge 23))

For example?

3 Likes