[Edinburgh-pm] Code cleanup

Aaron Crane perl at aaroncrane.co.uk
Tue Mar 6 08:10:35 PST 2012


Miles Gould <miles at assyrian.org.uk> wrote:
> I am especially delighted to discover that the asshole who told the OP to
> delete it outright was *completely, entirely wrong* about the source of the
> script's performance problems.

Excellent!

Also, in general: careful stepwise refactoring can very often get you
from "this is an incomprehensible mess" to "this code clearly does
something reasonable".  And I think it's particularly valuable for a
newcomer to programming to be exposed to that lesson.

-- 
Aaron Crane ** http://aaroncrane.co.uk/


More information about the Edinburgh-pm mailing list