|
|
|
|
|
by ryandrake
1687 days ago
|
|
> performance-hungry programs (read: games) sometimes have to check the spec of the PC they're installed on and tell the poor punter that their PC isn't fast enough. This seems like the root problem. Developers, please don't do this. Just let the user run the software, and if it's not fast enough for them, it will be self evident. Don't insert your own personal judgment about what kind of PC is "good enough" and if you absolutely feel you have to butt in like that, don't make the logic faulty like these games apparently do. When I buy a game, I expect to run it. If my PC is too slow, it will run slowly and I'll be motivated to upgrade or fiddle with the graphics settings. Trying to be this performance police is like saying "Your PC is pathetic. In lieu of letting you run this software you paid for, please accept this picture of my middle finger instead." I wouldn't want to do business with a developer that treats me like that. |
|
Example: Old software that can't handle larger-than-expected disk free space. There are AppCompat shims in Windows for lying to applications re: free disk space quantity because some old applications stored the result of disk free queries in 32-bit integers. Who would ever have more than 4GB of free disk?!?
The integer overflows that result invariably cause unexpected behavior.
Just make the API call to write to the disk. If that returns "disk full" let the user know. Don't "check" first.