Another salvo in the indentation war? I hope not.
Martijn Faassen
m.faassen at vet.uu.nl
Sun May 28 17:26:24 EDT 2000
Philip 'Yes, that's my address' Newton <nospam.newton at gmx.li> wrote:
[snip]
> Try feeding this to python, then:
> if 1 == 1:
> print "This won't work"
> You'll get a SyntaxError if somebody removes all leading indentation.
If you feed this:
if (1 == 1) {
printf("This won't work.\n");
}
To C you'll get compiler errors as well if somebody removes all the '}'s. :)
If-malicious-somebody's-start-removing-stuff-all-code-is-lost-ly yours,
Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list
mailing list