Hi all. I'm struggling to see the point of this (from Pragmatic's
Programming Clojure):

Java  =>  rnd.nextInt()
Clojure => (. rnd nextInt)
sugared => (.nextInt rnd)


What's the point of the sugared version? It's not any less to type.
It's also incomprehensible to me how it came about. In the middle one
it's simple, class and method, but the in sugared one it's just plain
simply bizarre looking. What was the intent?

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to