Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am happy (good) science does not take the "is obvious" claim as sufficient, and instead focuses on proving things with objective facts.

I am not saying these cannot be plain to see in the code, but the best standard IMO is still to measure before and after the optimization. IMHO, again, you can skip that step, but then other people might rightfully ask you what proof you have that the optimization is faster (I would).



Some of these architectural decisions benefit from being made early. That doesn’t mean you can’t objectively defend them but it does mean the measure, optimize, measure loop you might use on a mature codebase to optimize a hot path can’t be the only standard.


It's a matter of economy-- if you spent all day measuring obvious things you'd never get anything done.

Clearly which things you choose to measure should be a function of how certain you are about them, and how much you stand to lose if you get them wrong.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: