For what it's worth, I recently spent half a day attempting to solve a
bug which would have been trivial if `a` and `m` prefixes had been
present in that part of the code.

While I find these notations ugly, they're also useful.

Cheers,
 David

On 06/09/2019 12:57, Honza Bambas wrote:
> On 2019-09-05 23:14, Emilio Cobos Álvarez wrote:
>> Yeah, let's not add a new prefix please.
>>
>> I don't like aFoo either, though it's everywhere so consistency is
>> better than nothing :/.
>>
>> That being said, it shouldn't be hard to write some clang plugin or
>> such that automatically renames function arguments to stop using aFoo,
>> should we want to do that... Just throwing it in the air, and
>> volunteering if we agreed to do that ;)
> 
> I personally find it useful (the 'a' prefix) same as the 'm' prefix. 
> When I trace back where from an argument is coming, when it bubbles down
> few functions, it's good to see when it changes from 'aArg' to 'arg' ->
> ah, here we set the value!
> 
> -hb-
> 
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to