Was there a decision against allowing methods with empty arguments to be
specified without the ()?
Example.
$browser.isJavaScriptOK
as opposed to
$browser.isJavaScriptOK()
It obviously wouldn't be too hard to add the first form, is anyone
opposed?
The backend programmer could fudge it with a getisJavaScript() method,
but the isXXX format for boolean properties, is pretty standard. And I
don't see any reason why the empty () pair should be required.
Also,
would there be much benefit in trying to cache the "correct"
interpretation of a ASTIdentifier? It would seem to me that the
interpretation will not change in most circumstances. So if out of
1. getisOK()
2. get("isOK") or get(isOK)
3. isOK()
#3 is correct, it would be good to check it first the next time the
template is used.
Thoughts?
John McNally