PATCH: Augmented assignment

Michael Hudson mwh21 at cam.ac.uk
Fri Jun 9 14:09:02 EDT 2000


invalid.address at 127.0.0.1 (David) writes:

> And it's not like it adds new functionality nor improves code
> readibility.  It just saves the lazy programmer a whopping one or
> two keystrokes.

It can improve efficiency by reducing the number of temporaries
generated.  This matters if you're dealing with big matrices, for
example.

Cheers,
M.

-- 
  well, take it from an old hand: the only reason it would be easier
  to program in C is that you can't easily express complex  problems
  in C, so you don't.                   -- Erik Naggum, comp.lang.lisp



More information about the Python-list mailing list