On 11/10-2004, at 4.02, John Siracusa wrote:

<snip>


It looks strange in lowercase too. It *is* strange. What the heck does th
"x" mean anyway? "Extend"? "Extend-but-not-in-a-way-that-fits-in-with-the-
similarly-named-classes-that-don't-have-an-'x'"? It not a very elegant way
to skirt the issue, IMO.



Yes is looks strange, but it seems to be the defacto standard in use for handling CPAN name spaces, where things are growining out of control.


Anyway, not knowing anything about the module but the name, it seems to me
that pregnancy is not really an "event." It's more of an "experience" or
perhaps "continuum"...or something. I'm sure a better place can be found
for ::Pregnancy, and maybe also similar things.


And if it is really an event, then it should probably be renamed
::Pregnancy::Conception or ::Pregnancy::Birth or whatever it is. Also, the
::Event:: "super parent" API should be able to handle these kinds of
"personal events" in addition to things like Easter Sunday. If it's going
to claim the entire ::Event:: tree, it has to be very flexible and/or
willing to accommodate.

The module currently handles both calculation of: date of birth and internally calculation conception (well the data is there anyhow).


Apart from that it can output week numbers and month number for a pregnancy, as a sort of calendar, which makes it difficult for me to decide whether part of the current module actually belongs in DT::Calendar?

I will have to look more into this before coming up with a new suggestion, of course going to this mailing list prior to release to CPAN.

About flexibility/accomodation, of course I am always open to comments/suggestions/patches etc. else I would not have joined this mailing list after invitation from Dave Rolsky.


That, however, is just my $0.02. We do need some namespace for modules
that don't fit elsewhere.

Given the choices of "X" and "::Misc", I'd take "::Misc". It still seems
like a cop-out, but at least it's somewhat meaningful.


-John

I think the DT::* namespace needs a place to, put stuff which does not fit elsewhere, about the name, I do not really have any preferences.


jonasbn



Reply via email to