avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: [RT] JavaBeans are even more evil than first thought
Date Mon, 26 Jan 2004 08:37:05 GMT
There must be a nit to pick *somewhere*...

> From: news [mailto:news@sea.gmane.org] On Behalf Of Leo Simons
> 
>      public class Radar {
>          private int minRange;
>          private int maxRange;
> 
>          public Radar( int maxRange, int minRange )
>          {
>            // easy to do the ordering here :D
>            setMaxRange( maxRange );
>            setMinRange( minRange );

Boilerplate code. Nice when you have two parameters, ugly
when you have twenty.

/LS


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message