Raymond ChenWHY NOT JUST BLOCKTHE APPS THAT RELY ONUNDOCUMENTED BEHAVIOR?1

Windows includes quite a few sneaky and beautiful hacks to make sure that when you upgrade to a new version of the operating system, all your old applications will continue to run.

I first learned about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept ...

Get THE BEST SOFTWARE WRITING I now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.