[Python-Dev] Re: dict.setdefault() (Patch#101102) (original) (raw)

Andrew Kuchling akuchlin@mems-exchange.org
Tue, 8 Aug 2000 09:31:29 -0400


On Tue, Aug 08, 2000 at 08:24:06AM -0500, Skip Montanaro wrote:

I know I'll be shouted down, but I still vote against a method that both sets and gets dict values. I don't think the abbreviation in the source is worth the obfuscation of the code.

-1 from me, too. A shortcut that only saves a line or two of code isn't worth the obscurity of the name.

("Ohhh, I get it. Back on that old minimalism kick, Andrew?"

"Not back on it. Still on it.")

--amk