Optimisation

Nigel Peck nigel.peck at miswebdesign.com
Tue Mar 3 14:46:13 GMT 2009


Bruce Richardson 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.

Thanks Bruce and everyone else for your helpful advice :)


More information about the london.pm mailing list