Re: Your module DateTime::WorkingHours

[email protected] (Dave Rolsky)
Newsgroups perl.datetime
Message-ID <[email protected]>
On Fri, 14 Mar 2008, Jozef Kutej wrote:

>> I noticed you released a module DateTime::WorkingHours recently. I'd
>> prefer that folks not release modules under the DateTime namespace
>> without talking to the [email protected] list about it first. In
>> particular, the namespace you've chosen doesn't really fit within the
>> DateTime namespace guidelines (see
>> http://datetime.perl.org/index.cgi?NamespaceStandards)
>
> Sorry, I didn't know. I got fast "inspiration" from
> DateTime::BusinessHours. But as I look now it doesn't have a log "history".

Heh, I contacted the author of that module too but he never replied.

>> Would you mind posting something to the [email protected] list to
>> discuss both the name and API of your module? Alternately, if you don't
>> want to do that, I'd appreciate it if you'd rename the module so it
>> doesn't start with "DateTime::".
>
> I don't mind to think of any different name (inside or outside of
> DateTime::). What are the suggestions?

Well, if you want it in the DateTime:: namespace, we should discuss the 
API first on the list. The key is to make sure that the API looks like any 
similar modules.

In this particular case, I'm not sure there _are_ any similar modules, 
which is all the more reason to get the API right this time, so that any 
similar modules that come along later have a model to follow.


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.