At 10:23 AM 6/23/2002 +1000, you wrote:
What do you think of getting rid of the DataType interface?  We'd keep the
role, but drop the requirement that a data-type must implement the interface.

Im not a fan of it - but you already knew that. In effect if we were to put this in we would be special casing the whole system. It would be better to do


if( datatype ) doMagic();
else doNormalStuff();

That way at least we explicitly list the special case.


Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
             - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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



Reply via email to