[Bug 10126] The arc() function's last argument should be optional. Webkit doesn't require it, treating it as false if not provided.

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10126





--- Comment #2 from Tab Atkins Jr. <jackalmage@gmail.com>  2010-08-30 19:55:07 ---
(In reply to comment #1)
> Rationale: Why would it be optional? You need to know what direction to go in;
> why does clockwise make so much more sense that we should just assume it?

Assuming one direction or another is helpful to authors in the first place; why
force them to make an explicit choice when clockwise is a perfectly adequate
default?

More generally, whenever I see a trailing boolean argument, I assume that I can
leave it out and it will just be filled by undefined, equivalent to false. 
Putting in a ",false" at the end of all my functions is opaque and annoying.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 30 August 2010 19:55:10 UTC