I propose that we change the pattern for instance variables to
^_?[a-z][a-zA-Z0-9]*$ so that we will allow leading underscores but will
not insist on it.

Uuuugh, please no! Besides being ugly, it's worth sticking to the Sun
coding
style (as is the default with checkstyle). That way, anyone who has done any
Java will be immediately familiar with it.


I'd agree with Simon on this. Leading (and trailing) underscores are ugly (just look a Python!). If its too difficult to determine if a variable is a member or a local, then the method is probablly too big. And you can always prefix this to a member for clarity.



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to