3 ms·
> Premature Optimization Is the Root of All Evil Means don't drop down to asm to save a few cycles. It doesnt mean "dont fill your 10fps GUI app with crap". T
by mjburgess 4y ago
> Premature Optimization Is the Root of All Evil
Means don't drop down to asm to save a few cycles. It doesnt mean "dont fill your 10fps GUI app with crap".
Today, it more or less should be killed-off as a phrase. There isn't anyone optimizing anything, let alone "prematurely"
- c-smile 4y agoIt could be interpreted that way too. But usually managers interpret it this way: let's mold it now from that pile of shit and firewood and think about concrete foundation later. VC driven development they say. It makes sense in some cases of course. But not in cases when concrete foundation is the cornerstone feature of the application. That kind of application shall serve users during whole their lifetime. And so application core shall not rely on particular OS and its features.
- pradn 4y ago> There isn't anyone optimizing anything, let alone "prematurely" Yes, but in a slightly different way than one might think at initial read of this. Most of the performance choices for a user-facing application have been made by the time the language and UI framework are decided. And these are just chosen out of inertia, to conform to a company standard or to use what you already know. There's little one can do to make a WPF or CEF application super responsive.
- mjburgess 4y agoI'd be interested in seeing if there's a YT video out there of a WPF expert doing just that. It might be a matter of hacking-in a caching layer or something, but it feels like probably more things are possible than people think. A framework is just code, and you can pick-and-choose.