[fpc-pascal] Re: StrUtils.RomanToInt oddities
Marco van de Voort
marcov at stack.nl
Tue Sep 24 11:11:16 CEST 2013
In our previous episode, Reinier Olislagers said:
> >
> > Yes, but since the routine probably has low utilisation I choose for
> > structuring all conversion routines all the same.
> I would rather choose for maintaining backward compatiblity, the *de
> facto behaviour* (return 0 on invalid values) as it is quite sensible
> for this kind of numbers.
It is non-orthogonal.
>
> > Moreover I don't think that first attempts should fixate interfaces
> > and behaviour forever.
> It's quite strange though that Delphi compatibility is quite insistently
> adhered to (BTW a good decision IMO).
Because that has an use. The internal FPC compatability, specially in the more
fringe areas like this, service no use than fattening maillist archives IMHO.
More information about the fpc-pascal
mailing list