Jeff Gilbert writes: > On Tue, Jul 7, 2015 at 5:41 PM, Karl Tomlinson <mozn...@karlt.net> wrote: > >> Some people find the prefix helps readability, because it makes >> extra information immediately available in the code being >> examined, while you are indicating that this is a significant >> burden on readability. >> >> Can you explain why the extra letter is a significant burden? > > Because extra noise is being forced into variable names for minimal > benefit. Every declaration is a sea of extra 'a's. Refactoring code means > doing a lot of s/aFoo/foo/ and vice-versa. Reading each arg name requires > first passing over 'a' before getting to anything relevant. Often this > means that short function bodies can have every fifth or sixth letter being > 'a'.
I wouldn't see a problem with removing the 'a' prefix from parameter names in declarations and inline methods. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform