commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lev Assinovsky <...@peterlink.ru>
Subject Re: [Latka] Developer's Guide / Coding Style
Date Fri, 22 Mar 2002 18:29:03 GMT
I would say "_" style is very common.
C++ leader Rogue Wave Co. uses it everywhere.
I met even "postfix" style: xxxx_ for the method parameters.


ringo.desmet@mediagenix.com wrote:
> 
> Oh,
> 
> and not particular to this example, but I have another coding style for the
> following snippet:
> 
> >     public PooledConnection(Connection delegate) {
> >         _delegate = delegate;
> >     }
> >
> >     protected Connection _delegate;
> 
> My coding style:
> 
>       public PooledConnection(Connection delegate) {
>           this.delegate = delegate;
>       }
> 
>       protected Connection delegate;
> 
> I also add the 'this' to invocations of methods on the same object.
> 
> Ringo
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>

-- 
Lev Assinovsky                Peterlink Web
Programmer		      St. Petersburg, Russia
Tel/Fax: +7 812 3275343       197022 ul.Chapigina 7Á
E-mail: lev@peterlink.ru

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message