commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Meyer Andersen <m...@mikl.dk>
Subject Re: [MATH] Names of fields and arguments coincide (in reply to: svn commit: r1065146)
Date Sun, 30 Jan 2011 15:05:05 GMT
Thanks for clearifying :).
Den 30/01/2011 16.01 skrev "Gilles Sadowski" <gilles@harfang.homelinux.org>:
> On Sun, Jan 30, 2011 at 02:58:43PM +0100, Mikkel Meyer Andersen wrote:
>> Hi,
>>
>> 2011/1/30 Gilles Sadowski <gilles@harfang.homelinux.org>:
>> > Hello.
>> >
>> >> I noticed that you have code where fields and constructor arguments
>> >> have the same name. As far as I remember that is not good practise,
>> >> but I might be wrong :-)?
>> >
>> > Most (all?) of CM follows this convention.
>> Just to be sure: Do you mean that in most of CM, parameter and field
>> names coincide?
>
> Yes.
> See, for example,
>
src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
> src/main/java/org/apache/commons/math/geometry/Rotation.java
> I think that the list is quite long...
>
> Best,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message