Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Bad things about python

Name: Anonymous 2007-02-02 12:05

ITT we list all the bad things about python.

I know it has good points as well but thats not for this thread. thanks.

Name: Anonymous 2007-02-02 13:32

>>1
- No multiline lambdas or expression def.

- Ifs, loops, etc., and more generally, blocks should be expressions that return the value of the last sentence.

- Closures are limited, not because they internally are, but because when you do x = 2, you immediately create a new reference x, not changing the one from an outer scope. This is a tradeoff; it doesn't happen in JavaScript, but on the other side, Python doesn't have dangerous automatic globals and it doesn't require you to define your variables. Still, I would like to have some kind of "outer scope" resolution operator.

- I would like to have C-like assignment operators and ++ --

- Modules should have been regular namespaces, working just like classes and functions.

- Regular expressions from the re module aren't as good as Perl's. They lack the experimental features.

- The re module needs simplification. You can fix it easily though.

Everything else looks great to me. It's overall my favourite language.

>>4
No. Already discussed. Not gay.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List