go ahead... be a heretic | |
PerlMonks |
Re: Re: Re: RFC: Seconds2Englishby Koschei (Monk) |
on Aug 01, 2003 at 09:21 UTC ( [id://279895]=note: print w/replies, xml ) | Need Help?? |
Mostly, I was thinking: why does everyone want to reinvent wheels when learning? Why not find a wheel and augment it? The process of augmentation will mean you have to understand the code and the rest of us get the benefit of an improved module. You say your module has features above and beyond Time::Duration. So patch TD. I'm sure Sean would welcome your patch. Think of it as an exercise in community development. As for the code: As belg says, look to something like Class::Accessor to obviate that nasty infection of identical accessors. I'd argue against using AUTOLOAD to create accessor. Something like chromatic's loop is much better. The general thing is that when code is appropriately commented, documented and tested, if it does what it's meant to do, it's good. Just like the rest of cpan (ha!)
In Section
Meditations
|
|