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

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'looked': 0.18; 'url:home': 0.24; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; "doesn't": 0.30; '+0100,': 0.31; 'indentation': 0.31; 'subject:the': 0.34; 'problem': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'skip:& 10': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'mar': 0.68; 'obvious': 0.74; 'goto': 0.84; 'pardon': 0.84; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: why indentation should be part of the syntax
Date Tue, 04 Mar 2014 19:24:50 -0500
Organization IISS Elusive Unicorn
References <531480DD.5040204@rece.vub.ac.be> <5315B2C9.3020709@rece.vub.ac.be>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-219-102.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7774.1393979107.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393979107 news.xs4all.nl 2869 [2001:888:2000:d::a6]:43199
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:67764

Show key headers only | 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