Code Duplication
Tony Lambregts
tony_lambregts at telusplanet.net
Tue Feb 4 14:42:48 CST 2003
Matthew Davison wrote:
>During my work to clean up the Unicode -> ascii cross-calls I have
>noticed some A:W pairs where both are implemented in essentially the
>same way. Would it be sensible in these case to make the A function into
>a call to the W one, to reduce code size, or would I be wasting my time
>.
>
>
>
In general having both is a waste. It makes the code harder to maintain
and bugs harder to find. IIRC though sometimes there might be (subtle)
differences in behavior of the two. I think that would be the rare case
though. At least rarer than the behavior of 16 vs 32 calls.
--
Tony Lambregts
More information about the wine-devel
mailing list