Well, object-oriented has more to do with classes and inheritance and derivation than anything else.
If things are being done properly, you should practically never be in a situation where you're comparing a signed type with an unsigned type anyway.
The fundamental piece of data that's being tracked by a particular integer variable should be conceptualized as either allowing negative values or not, and should then always be stored in an appropriately typed variable.
Is there a particular piece of code in the Emu source that's causing you this grief?
|