On Fri, Dec 5, 2014 at 5:41 AM, Eric Rescorla <e...@rtfm.com> wrote:
>
>> I’d like to change the coding style guide to let us make out-params more
>> obvious by using an ‘o’ prefix for their name instead of an ‘a’. For
>> example,
>
> What fraction of these cases can't be distinguished by making non-out
> ref/pointer parameters const?

The non-const-ness of a parameter is a weak, indirect indication that
it's an outparam, and one that is probably not consistent across the
codebase. I bet we have bazillions of non-const, non-outparams.

In contrast, Seth's suggestion would be an extremely clear indication
that a parameter is an outparam.

Nick
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to