On Fri, 13 Sep 2013 09:04:06 +0200, Antoon Pardon wrote:

> Op 10-09-13 12:20, Chris Angelico schreef:
>> On Tue, Sep 10, 2013 at 4:09 PM, Steven D'Aprano <st...@pearwood.info>
>> wrote:
>>> What design mistakes, traps or gotchas do you think Python has?
>>> Gotchas are not necessarily a bad thing, there may be good reasons for
>>> it, but they're surprising.
>> 
>> Significant indentation. It gets someone every day, it seems.
>> 
>> 
> Not only that. There are a lot of python code snippets on the net that
> for whatever reason lost their indentation. There is no algorithm that
> can restore the lost structure.

Is there an algorithm that will restore the lost structure if you delete 
all the braces from C source code?

Perhaps if web sites and mail clients routinely deleted braces, we'd see 
the broken-by-design software being fixed instead of blaming the language.



-- 
Steven
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to