why indentation should be part of the syntax

Bernd Nawothnig Bernd.Nawothnig at t-online.de
Sun Mar 2 13:07:02 CET 2014


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 indented as it looked:
>
> https://www.imperialviolet.org/2014/02/22/applebug.html

The way Perl or Go handles it where it is not possible to omit the
curly braces would have prevented the same error too.




Bernd

-- 
no time toulouse



More information about the Python-list mailing list