Language design
Chris Angelico
rosuav at gmail.com
Tue Sep 10 06:20:47 EDT 2013
On Tue, Sep 10, 2013 at 4:09 PM, Steven D'Aprano <steve at 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.
The fact that importing twice doesn't reexecute any code.
The whole "consenting adults" philosophy. I happen to quite like it,
as do many of the regulars here, but it does trip up a lot of
programmers who've come from other languages.
Like you say, not necessarily a bad thing; but Admiral Ackbars all the same.
ChrisA
More information about the Python-list
mailing list