On Thu, Oct 25, 2012 at 2:14 AM, Zero Piraeus <firstname.lastname@example.org> wrote:
> By the way ... while Bag.addtwice() is legal Python [and I understand
> that you're just playing around here], a method that both "does
> something" [changes the object] and "gives something" [returns a
> useful value] when that's not strictly necessary isn't brilliant
Side point: It's not that it's *bad* code or even bad style; it just
isn't the way Python generally does things.
|All times are GMT. The time now is 10:28 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.