News for hackers. Stuff that matters.
Re:The Dangers of Intermediate Targets: IQ, Cholesterol, and... by majke on Friday March 06, 2015 @07:19AM (#9156680)
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.

Re:The Dangers of Intermediate Targets: IQ, Cholesterol, and... by venomsnake on Friday March 06, 2015 @07:43AM (#9156734)
Well 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.
Re:The Dangers of Intermediate Targets: IQ, Cholesterol, and... by tjradcliffe on Friday March 06, 2015 @11:57AM (#9158040)
Premature 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.
Re:The Dangers of Intermediate Targets: IQ, Cholesterol, and... by peloton on Friday March 06, 2015 @07:55AM (#9156775)
I, too, am not a fan of blog posts without dates. The archive view suggests it's new: http://danluu.com/blog/archives/
Re:The Dangers of Intermediate Targets: IQ, Cholesterol, and... by adsofhoads on Friday March 06, 2015 @08:11AM (#9156815)
I found the date on the RSS feed (2015-3-5 21:54).