On Tue, Mar 3, 2009 at 2:35 PM, Bruce Richardson <itsbr...@workshy.org> wrote: > On Tue, Mar 03, 2009 at 12:17:22PM +0000, Nigel Peck wrote: >> I'm just asking because I try to think about optimisation as I'm writing >> code, rather than going back and doing it later, which I've only done in >> rare cases. > > The most optimal code is maintainable code. Lay your code out well, > make it easy to understand. If you do that, then when the code sees use > and the actual priorities for optimisation become apparent, it'll be > much easier to make those improvements (especially if you are not the > person making them, but even if you are). It's the only early > optimisation that works.
Amen. Bruce for President. :) Mark.