On Wed, Jul 15, 2015 at 2:55 AM, Thomas Zimmermann <tzimmerm...@mozilla.com>
wrote:

> The discussion has a number of good points in favor of using 'a', but I
> missed convincing arguments in favor of not using 'a'. Are there any? I
> don't consider "I don't get what 'a' is good for" a convincing argument.
>

It increases the overhead of extracting part of a large function into a
helper function, because typically some local variables become parameters
of the helper function, so they have to be renamed.

Admittedly, C++ already inhibits this refactoring by (usually) requiring
helper method declarations to be repeated in the class declaration ...
which is one of the things I most dislike about C++. But every increase in
overhead reduces the likelihood that the refactoring will be done when it
should.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to