On Fri, Dec 3, 2010 at 1:55 PM, Nico Weber <tha...@chromium.org> wrote:

> Out of curiosity, what do people think of
>
> doSomethingElse(/*paramName=*/true);
>
> when calling an existing function that takes a bool?
>

Why don't we just change it to take enum instead?  Adding a comment to
repeat the argument name in call sites seems to contradict all other coding
principles we have in WebKit.

- Ryosuke
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to