> On Dec 4, 2014, at 11:02 AM, Eric Rescorla <e...@rtfm.com> wrote: > In contrast, Seth's suggestion would be an extremely clear indication > that a parameter is an outparam. > > Yes, and because it's just a convention and not compiler enforced it can > also be wrong.
I don’t know of any realistic, usable way we could enforce this via the compiler in C++, though. I agree that in theory the ‘o’ prefix could be wrong, but code review provides us some degree of protection against these kinds of issues, and I don’t think we should let the perfect be the enemy of the good here. (After all, in theory the ‘a’ prefix we use for indicating arguments could be wrong, but in practice I have never seen a problem with that.) - Seth _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform