Waffling (was Re: single-line terinary operators considered harmful)

Anders J. Munch andersjm at dancontrol.dk
Wed Mar 5 16:34:21 CET 2003

"Stephen Horne" <intentionally at blank.co.uk> wrote:
> Once it's optional, the separator-or-terminator distinction really
> doesn't make much difference though. IIRC the semicolon is a separator
> rather than a terminator even in C. For instance...

You are wrong on this point.

int main()
    return 0

is not a valid C program.

- Anders

More information about the Python-list mailing list