On Thu, Nov 17, 2011 at 3:39 PM, Base <basselh...@gmail.com> wrote:

> It mentions:
>
> "The one important difference is in calling no-argument methods. In
> Java (. x toString), where toString is a method, would unambiguously
> mean "call the toString method of x". JavaScript is more flexible,
> separating "method" lookup from invocation. So in ClojureScript you
> have to make a choice:
>
> (. sb toString)     => returns a function
> (. sb (toString))   => calls the function"


It's very likely there are language changes coming soon that will address
this.

David

-- 
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