From: Sean Russell Date: 2001-05-09T02:05:15+09:00 Subject: [ruby-talk:14873] Re: skipping arguments -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Je Lundo 07 Majo 2001 18:13, vi skribis: > My guess is that this would make parsing more difficult. After all, an > actual parameter can be an arbitrary expression. Unless it makes the statement more ambiguous, it wouldn't make parsing more difficult. > Besides, we have a precedent that > a b c d > means the same as > a(b(c(d))) > which would have to change. And there's the answer to my question. Ruby could still intelligently parse "a b c d" using priority rules; it already does so for "1 + 2 * 3"... however, using commas removes the need for Ruby to do priority checks in this particular case, so there is likely a speed win in using commas. It might be possible, however, to allow for comma-less statements, the use of which would incur a performance penalty, while using commas would give a performance boost. === SER Deutsch|Esperanto|Francaise|Linux|Java|Aikido|Dirigibles|GPG === http://www.germane-software.com/~ser jabber.com:ser ICQ:83578737 Unix is an operating system. OS/2 is half an operating system. Windows is a shell. DOS is a bootsector virus. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.2 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6+CdBP0KxygnleI8RApLqAJ9MzthBVTJFC5BS0aO5lpUOS7a5OwCgqwHG 48qk6MOuRmwUF2YJMbeJtTM= =mI9D -----END PGP SIGNATURE-----