python gripes survey

Ryan Lowe ryanlowe0 at msn.com
Sun Aug 24 11:07:54 EDT 2003


"Dave Brueck" <dave at pythonapocrypha.com> wrote in message
news:mailman.1061701097.12913.python-list at python.org...
> Here's a short list of my anti-gripes - features that I like but some
people complain about;
> features that, if removed or changed too much, would make me like Python
> less:
>
> - no assignment in if/while
> - whitespace significant to both programmer and the language
> - {} + {} not allowed ;-)
> - private variables are a language-encouraged convention instead of an
attempt
> to babysit the programmer
> - no macros
> - no end-block tag required
> - list comprehensions
> - a "self" parameter is passed to all class methods, and by convention we
all
> call it "self"
> - tendency to prefer keywords over special characters
> - thread-safe operations on fundamental objects (e.g. two threads doing
> somedict['foo'] = x at the same time won't cause Python to crash or
corrupot
> somdict)
> - list.sort() doesn't return the sorted list
>
> There are more, but this list is just off the top of my head. :)
> -Dave


id agree with most of those too. i hadnt really thought about the sort()
function, but that does seem a little inconsistent with other methods which
do return a value. im sure there is a good reason for this (speed?).








More information about the Python-list mailing list