3 ms·
I hate blog posts without dates. Is that a new blog post or old? Anyway, to the merit: > But the only trick is that there is no trick Yes a thousand times. V
by majke 12y ago
I hate blog posts without dates. Is that a new blog post or old?
Anyway, to the merit:
> But the only trick is that there is no trick
Yes a thousand times. Very well put. This is my understanding of the "Premature Optimization" mantra: it's either you got everything right, and there is little need for miro-optimizing, or everything wrong and micro-optimizing won't get you much.
- venomsnake 12y agoWell no ... premature optimization is something else. When you start a project - you make some assumptions about load, shape whatever. Optimizing based on these assumptions before being validated by the real world testing is sub optimal. You don't know where the bottlenecks will be, or how users will interact with your software.
- tjradcliffe 12y agoPremature optimization includes both what you describe and what the GP talks about. Adopting the general rule, "No optimization without quantification" helps in all cases: validate those assumptions early in the design process (with prototypes, user observations, whatever) and with regard to optimization of code later on, profile it intelligently to identify bottlenecks, don't just assume the issue arise from what seem like the obvious culprits.
- peloton 12y agoI, too, am not a fan of blog posts without dates. The archive view suggests it's new: http://danluu.com/blog/archives/ http://danluu.com/blog/archives/
- adsofhoads 12y agoI found the date on the RSS feed (2015-3-5 21:54).