On Fri, 21 May 2010, David Cantrell wrote:
> On Thu, May 20, 2010 at 12:34:09PM -0700, Jan Dubois wrote:
> > On Thu, 20 May 2010, David Golden wrote:
> > > I plan to modify Module::Build and EU::CB (at a minimum) to use this
> > > new module (which would mean it would come into core). It would then
> > > be available for other modules (both distributed with Perl and on
> > > CPAN) to likewise refactor their OS mapping to use it. This will
> > > reduce duplicated code and improve ease of maintenance over time.
> > Personally I'm not convinced that it makes maintenance any easier
>
> It means that Module::Build, EU::CB etc use the same mappings so will
> never get out of sync, will never disagree with each other about, eg,
> whether to treat Cygwin as Unix-like, ...
But surely whether or not to treat Cygwin as Unix-like depends on which
question is being asked. There is no single always-correct answer. That's
why Configure has always focused on features, not platforms.
I do agree that refactoring common code can reduce maintenance costs, but
as you do so, I'd encourage you to consider organizing it in terms of
features, not platforms.
--
Andy Dougherty doughera@lafayette.edu
Thread Previous
|
Thread Next