logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Problem in initialization
Date Thu, 17 Apr 2003 14:38:30 GMT

Howdy,
Please don't turn this thread into a java coding conventions discussion.
I made the mistake of asking about it ;)  The lists are active enough
without extra noise.  Thanks,

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Erik Price [mailto:eprice@ptc.com]
>Sent: Thursday, April 17, 2003 10:29 AM
>To: Log4J Users List
>Subject: Re: Problem in initialization
>
>
>
>Ashraf Fouad wrote:
>
>> - :))) yes, u can say some sort of C, I had quite some time
collecting
>style guidlines in Java from the Internet, and made my own customizable
&
>suggested style guidlines document ( wish to share it, just ask ), I
found
>from some documentation in Oracle the use of:
>> m_ member variables
>> s_ static variables
>> l_ Local variables to methods
>> p_ Parameter list in methods
>
>My own convention for Java code is similar to yours, I use this style:
>
>this.variableName       - member variables
>ClassName.variableName  - static variable
>variableName            - local variable within a method
>variableName            - parameter variable
>
>It could be argued that, using my conventions, there is no obvious
>distinction between a local variable name and a parameter variable
name,
>but I believe that because the a parameter variable has the same scope
>as a method local variable, they are really similar enough that a
>special syntax doesn't do much for me.
>
>Incidentally these conventions are in line with those at
><http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html>.  Just
>thought I'd share. :)
>
>
>
>Erik
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: log4j-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message