Why are functions atomic?

Michael michael.forbes at gmail.com
Fri May 4 15:55:03 EDT 2007


On May 4, 5:49 am, "Chris Mellon" <arka... at gmail.com> wrote:
> You aren't getting "bit" by any problem with closures - this is a
> syntax problem.

I understand that it is not closures that are specifically biting me.
However, I got bit, it was unplesant and I don't want to be bit
again;-)

Thus, whenever I need to pass information to a function, I use default
arguments now.  Is there any reason not to do this other than the fact
that it is a bit more typing?

Michael




More information about the Python-list mailing list