Quote:
Gandalf Parker said:
Rip open box, snag manual, rush out the door, get in trouble for reading the manual instead of the important thing you were supposed to be doing. "Turkeys?!? Umm... I meant to say... I do."
|
That would be going to teach some class. I've actually been using the Dom2 story of battle replays being incompatible between OSes as an example of what can go wrong when programming and compiling for multiple platforms.
(For those who weren't around at the time: battle replays were inconsistent between Windows and, at least, Linux - despite the game using its own random number generator and not some library function. The bug was finally tracked down to some code lines that went something like:
Code:
if (RollDie(x)<RollDie(y))...
and it turned out that the different compilers would make the left function call before the right, while others would do the reverse - something that, unless I'm wrong, isn't specified in the norm - and that was wreaking havoc with the random number generator reproductibility)