Re: why indentation should be part of the syntax

2014-03-04 Thread Antoon Pardon
Op 02-03-14 11:41, Stefan Behnel schreef: > Haven't seen any mention of it on this list yet, but since it's such an > obvious flaw in quite a number of programming languages, here's a good > article on the recent security bug in iOS, which was due to accidentally > duplicated code not actually bei

Re: why indentation should be part of the syntax

2014-03-03 Thread BartC
"Stefan Behnel" wrote in message news:mailman.7568.1393756930.18130.python-l...@python.org... Haven't seen any mention of it on this list yet, but since it's such an obvious flaw in quite a number of programming languages, here's a good article on the recent security bug in iOS, which was due

Re: why indentation should be part of the syntax

2014-03-02 Thread Nicholas Cole
On Sun, Mar 2, 2014 at 2:38 PM, Roy Smith wrote: > In article , > Stefan Behnel wrote: > >> Haven't seen any mention of it on this list yet, but since it's such an >> obvious flaw in quite a number of programming languages, here's a good >> article on the recent security bug in iOS, which was du

Re: why indentation should be part of the syntax

2014-03-02 Thread Roy Smith
In article , Stefan Behnel wrote: > Haven't seen any mention of it on this list yet, but since it's such an > obvious flaw in quite a number of programming languages, here's a good > article on the recent security bug in iOS, which was due to accidentally > duplicated code not actually being as

Re: why indentation should be part of the syntax

2014-03-02 Thread Tim Chase
On 2014-03-03 01:08, Chris Angelico wrote: > > if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) > > { goto fail; > > goto fail; > > } > > Put it this way: If I saw two gotos in a row like that, with or > without braces, I would be firing up gitk or git gui blame or > s

Re: why indentation should be part of the syntax

2014-03-02 Thread Chris Angelico
On Sun, Mar 2, 2014 at 11:36 PM, Ned Batchelder wrote: > As much as I like indentation as syntax, and am amused by this bug, I'm not > sure we can chalk it all up to space-vs-brace. After all, who would have > wanted two goto's in a row even with braces? It's not like there's some > engineer at A

Re: why indentation should be part of the syntax

2014-03-02 Thread Ned Batchelder
On 3/2/14 5:41 AM, Stefan Behnel wrote: Haven't seen any mention of it on this list yet, but since it's such an obvious flaw in quite a number of programming languages, here's a good article on the recent security bug in iOS, which was due to accidentally duplicated code not actually being as ind

Re: why indentation should be part of the syntax

2014-03-02 Thread Bernd Nawothnig
On 2014-03-02, Stefan Behnel wrote: > Haven't seen any mention of it on this list yet, but since it's such an > obvious flaw in quite a number of programming languages, here's a good > article on the recent security bug in iOS, which was due to accidentally > duplicated code not actually being as i

why indentation should be part of the syntax

2014-03-02 Thread Stefan Behnel
Haven't seen any mention of it on this list yet, but since it's such an obvious flaw in quite a number of programming languages, here's a good article on the recent security bug in iOS, which was due to accidentally duplicated code not actually being as indented as it looked: https://www.imperialv