(Posted this reply to the wrong thread, reposting to the right one... >_<)
One more group of defectors within Mozilla. From the DevTools coding standards[0]: """ - aArguments aAre the aDevil (don't use them please) """ Although, there are still some files in tree with the legacy style. [0] https://wiki.mozilla.org/DevTools/CodingStandards#Code_style On Tue, Jul 7, 2015 at 6:57 AM, Kartikaya Gupta <kgu...@mozilla.com> wrote: > On Tue, Jul 7, 2015 at 9:18 AM, Honza Bambas <hbam...@mozilla.com> wrote: > >> 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. > > > > > > That's (sorry) non-sense. In almost all cases longer methods/functions > > cannot be just split. It would probably make the code just much harder > to > > read and maintain (with a lot of new arguments missing the 'a' prefix ;)) > > and is not necessary. Not an argument IMHO. > > Can you point me to a couple of examples of long functions that you > think cannot be split reasonably? I'm curious to see what it looks > like. Obviously functions with giant switch statements and the like > are exceptions and should be treated exceptionally but I would like to > see some "regular" functions that can't be split. > > Cheers, > kats > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform