Why should I switch to Python?
jkraska1 at san.rr.com
Thu May 11 06:15:34 CEST 2000
Ben Wolfson wrote:
> On Thu, 11 May 2000 03:50:27 GMT, Courageous <jkraska1 at san.rr.com>
> >Tim Peters wrote:
> >> [Grant Griffin]
> >> > Speaking of C, I find myself missing the "x=" operators, and "++".
> >> > However, I understand and endorse the reasons Python omits them.
> >> While ++ makes little sense in a language with immutable numbers, += (&
> >> friends) can make good sense.
> >+= and -= would be nice, but I don't understand what you mean by
> >"friends" or why python might need them???
> The friends of += are -=, *=, /=, %=, |=, &=, ^=, >>= and <<=.
Well shoot me in the head for using a C++ language-specific presupposition
to get all confused over ordinary English. Yeah, I agree with you. Those
would all be nice short hand.
Of course I'm one of the few nuts on the planet that *likes* to use
? : : expressions in C.
More information about the Python-list