integers
Doug Landauer
landauer at apple.com
Tue Jun 5 21:39:26 EDT 2001
> It's also a pain in the butt writing someint += 1 [...]
> What is the reason that python doesn't have increment or decrement
> operators?
IMHO, it is 100 [*] times more important to make your code readable
than it is to make it writeable. So in order for a feature to
pull its weight, it has to improve writeability by 100 times more
than it impairs readability and maintainability.
IMHO, "++" does not fare well in this tradeoff.
[*] I-didn't-say-what-radix-to-use-ly,
--
Doug Landauer landauer at scruznet.com (not-work)
More information about the Python-list
mailing list