functions, list, default parameters

John Ladasky ladasky at my-deja.com
Mon Nov 8 03:06:46 EST 2010


On Nov 1, 7:30 pm, Lawrence D'Oliveiro <l... at geek-
central.gen.new_zealand> wrote:
> In message <20101021235138.609fe... at geekmail.INVALID>, Andreas Waldenburger
> wrote:
>
> > While not very commonly needed, why should a shared default argument be
> > forbidden?
>
> Because it’s safer to disallow it than to allow it.

That's why Java is the way that it is, right?  It tries -- too hard,
some would say -- to "protect" the programmer from making "mistakes."



More information about the Python-list mailing list