Skip to content
Prev 70102 / 398503 Next

R annoyances

On Fri, May 20, 2005 at 08:14:24AM -0400, Liaw, Andy wrote:
And this is different from the subscripting / function call ambiguity,
as these languages (to the extent I know them) are designed such that
parentheses for precedence control are syntactically distinguishable
from those used for function parameter lists: If the opening parenthesis
is preceded by an identifier, that identifier is a function name and
the parenthesis opens a parameter list.

(Python is a somewhat messy case, though, because it uses parentheses
for tuples too.)

Best regards, Jan