tjreedy at udel.edu
Wed Jan 21 03:53:01 CET 2009
Joe Strout wrote:
> Aaron Brady wrote:
>> I think it would be a good step if you could make some sensible
>> interpretation of a typical statement without its parentheses.
>> f "abc" 123
>> f( "abc", 123 )
How would you differentiate
f 'abc' + 'def'
f('abc') + 'def'
f('abc' + 'def')
> Such a language is possible -- take a look at REALbasic sometime. RB
> certainly has its problems (mainly bugs), but the language syntax is
> beautiful. To your point, parentheses are not required around any
> method call that (1) has no return value, or (2) requires no parameters.
> LogError "Walk has gotten too silly", CurrentTime
LogError('walk', Time) # versus
Perhaps RB does not have tuple literals.
More information about the Python-list