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 )
It would be just the thing in a couple of situations...
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.
Logo, of all things, doesn't require parentheses at all, since functions
("procedures") take a fixed number of arguments. Parentheses are only
required when you're adding optional arguments.
--
Erik Max Francis && m...@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
Conversation is the enemy of good wine and food.
-- Alfred Hitchcock
--
http://mail.python.org/mailman/listinfo/python-list