Peter Donald wrote:
> 
> Hi,
> 
> There is an inconsistent naming of the method
> 
> get<Blah>AsInt/get<Blah>AsInteger
> 
> Parameters uses second form while Configuration uses first. The 2nd form
> follows the format of all the others (ie get<Blah>AsLong(),
> get<Blah>AsBoolean()...) however as Configuration is more often used (and
> thus change may break code to change it) I am not sure which to change -
> preferences?
> Cheers,

Lets match what the equivilent java.lang.* counterpart is for the rule.
So, in this case it would be get<blah>AsInteger.

I am (obviously) +1 for this approach.  It will help with all future conflicts,
(Parameters vs. Configuration vs. some other new object), and it is familiar
with java developers.

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

Reply via email to