On Tue, Jul 7, 2015 at 3:33 PM, Jeff Gilbert <jgilb...@mozilla.com> wrote:
> On Tue, Jul 7, 2015 at 6:03 AM, Kartikaya Gupta <kgu...@mozilla.com> wrote:
>>
>> I'd be interested to know: of those people who are in favour of
>> removing the prefix, how many regularly have to deal with functions
>> that are longer than two pages (a "page" is however much code you can
>> see at a time in your coding environment)? I'd be happy to support
>> removing the prefix if people also commit to splitting any giant
>> functions they touch as part of the prefix removal.
>
>
> I work with a number of these, but after a page or two, why is it at all
> relevant which vars were args? For information flow? Should we mark locals
> that purely derive from args as `aFoo` as well? Long functions (which have
> poor readability anyway) generally have so much going on that the trivia of
> which vars are args does not seem very useful..
>
> I do not see how `aFoo` helps here, so please expand on this.

The only concrete use case I have is what I said in my original post
(the paragraph you didn't quote): when debugging in gdb it's useful to
know if a variable came from the current stack frame or from a stack
frame further up.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to