John McNally <[EMAIL PROTECTED]> writes:
> Jon Stevens wrote:
> >
> > on 2/26/01 1:53 PM, "John McNally" <[EMAIL PROTECTED]> wrote:
> >
> > > Is this only considered acceptable for String constants?
> >
> > Yes IMHO. Also, in this case, it is patching code that is used within
> > Turbine only...therefore, it should be done right.
> >
> > > FooPeer.COLUMN -> FooPeer.COLUMN.toString()
> >
> > Yucky. More typing.
>
> When have you ever used these constants in a way that required that they
> be Strings? I see no reason why anyone would ever have to use the above
> method outside torque generated code. I think saving multiple string
> parsing operations per request with no additional difficulty in coding
> is a win all the way around.
+1 on the constants.
--
Daniel Rall <[EMAIL PROTECTED]>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]