On 7/7/2015 21:27, Jeff Gilbert wrote:
On Tue, Jul 7, 2015 at 4:54 AM, Honza Bambas <hbam...@mozilla.com> wrote:
I'm strongly against removing the prefix. I got used to this and it has
its meaning all the time I inspect code (even my own) and doing reviews.
Recognizing a variable is an argument is very very useful. It's important
to have it and it's good we enforce it!
-hb-
Please expand on this.
Not sure how. I simply find it useful since I was once forced to obey
it strictly in a dom code. It simply has its meaning. It helps to
orient. I don't know what more you want from me to hear.
I review a lot of code, and can't remember the last
time knowing a var was an arg was useful.
The only exception is 'out-vars', which I believe should be handled as a
different case. (WebGL code generally uses the out_ prefix)
`aFoo` does not discriminate, so it's impossible to tell if assignment to
`aFoo` is local or not without more context.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform