W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2013

Re: [whatwg] proposal: Add support for masking to canvas

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 29 Jan 2013 20:18:35 -0800
Message-ID: <CAAWBYDAEVTmXoxy5-_m0ELH3ASrF7MwcHvC01HDbYT6ygLfYzA@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: whatwg <whatwg@lists.whatwg.org>, Jatinder Mann <jmann@microsoft.com>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
On Tue, Jan 29, 2013 at 7:30 PM, Rik Cabanier <cabanier@gmail.com> wrote:
> Do you believe it's OK to have 12 arguments or would a dictionary be better?

No, it's not okay.  ^_^  Particularly when some of the parameters are
boolean - boolean positional arguments are the devil.  Go with a dict.

Received on Wednesday, 30 January 2013 04:19:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:19 UTC