Optimisation

Mark Morgan makk384 at gmail.com
Tue Mar 3 14:50:24 GMT 2009


On Tue, Mar 3, 2009 at 2:35 PM, Bruce Richardson <itsbruce at 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.



More information about the london.pm mailing list