Hacker News new | ask | show | jobs
by WalterBright 1903 days ago
In Python, a newline is a token and serves as a statement terminator.

What I'm referring to is the notion that:

    a = b c = d;
can be successfully parsed with no ; between b and c. This is true, it can be. But then it makes errors difficult to detect, such as:

    a = b
    *p;
Is that one statement or two?