Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67764

Re: why indentation should be part of the syntax

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: why indentation should be part of the syntax
Date 2014-03-04 19:24 -0500
Organization IISS Elusive Unicorn
References <531480DD.5040204@rece.vub.ac.be> <5315B2C9.3020709@rece.vub.ac.be>
Newsgroups comp.lang.python
Message-ID <mailman.7774.1393979107.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, 04 Mar 2014 12:02:33 +0100, Antoon Pardon
<antoon.pardon@rece.vub.ac.be> declaimed the following:


>Or it might have looked like this
>
>IF (err := SSLHashSHA1.update(&hashCtx, &signedParams)) != 0 THEN
>		goto fail;
>END
>		goto fail;
>
>This would have produced the same problem but it would also have
>stood out because the second goto is indented in a place where
>it is obvious it doesn't match the program structure.

	I would recommend you avoid the Parallax Propeller chip... The SPIN
language used to program it ALSO uses indentation for block structure. <G>
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: why indentation should be part of the syntax Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-03-04 19:24 -0500

csiph-web