On Wed, Nov 12, 2003 at 10:16:51PM +0100, Paul Johnson wrote:
> On Wed, Nov 12, 2003 at 01:32:13PM +0000, Simon Cozens wrote:
> 
> > Hi. I'm about to write a module which presents an array in sorted order;
> > $a[0] will always be the "least" element by some comparator. Miraculously,
> > there doesn't seem to be such a beast on CPAN already.
> > 
> > Is Tie::Array::Sorted a reasonable name for it, or would another one be more
> > obvious?

> s/Tie::// ?
> 
> Do I need to be concerned with how the module is implemented?
> Presumably the documentation will tell me how to use it.
> 
> Yes, this probably applies to the rest of the Tie:: namespace too.

Oh, I was going to say this.

Tie::Array::Sorted is a good name because it is consistent with many
other modules.

But I consider them all to be misnamed. The implementation is not the
most important feature of these modules - why is it the most important
part of their names?

Nicholas Clark

Reply via email to