develooper Front page | perl.perl5.porters | Postings from February 2009

Re: RFC: Providing An Alternative to File-Find in the Perl 5 Core?

Thread Previous | Thread Next
From:
demerphq
Date:
February 24, 2009 11:56
Subject:
Re: RFC: Providing An Alternative to File-Find in the Perl 5 Core?
Message ID:
9b18b3110902241156w3552a65ey9f7b145f9d0a789f@mail.gmail.com
2009/2/24 chromatic <chromatic@wgz.org>:
> On Tuesday 24 February 2009 11:38:27 Aristotle Pagaltzis wrote:
>
>> Hmm, I wonder how much of a problem it would be to fix those
>> instead of replacing FF outright… FF is some really ugly code
>> anyway…
>
> I tried to refactor it seven years ago.  There's a tremendous amount of
> duplication and near-duplication (its two largest functions are very close in
> code and behavior), but the lack of encapsulation and its difficult test suite
> kept getting in the way.
>
> If someone had access to several very different filesystems and platforms,
> it's a solid month of work to refactor its internals into something more
> maintainable.
>
> That wasn't a good use of my time back then.  I'm not sure it would go any
> faster now.

And as i recall you *did* do some work on it at the time....

Yves


-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About