develooper Front page | perl.perl5.porters | Postings from May 2000

Re: overloading = [a solution]

Thread Previous | Thread Next
Ilya Zakharevich
May 6, 2000 11:51
Re: overloading = [a solution]
Message ID:
On Sat, May 06, 2000 at 01:33:46PM -0400, Sam Tregar wrote:
> > But your package does not support use by people who don't (want to)
> > know about your package.  And given that tie() is so much more useful
> > than your package, it is a killer argument.
> What package supports people that don't want to know about the
> package?

[Well, there are exceptions, like Term::ReadLine::Gnu/Perl, but] this
is exactly my point.  It is not that users were *freed* from learing
tie()ing.  It is that *instead* of learning tie(), users are
encouraged to learn some other (no less obscure, but much less
powerful) API.

And IMO this new API provides much worse learning/bang ratio than
tie().  Of course, there *will* be people who would like the new taste
better.  I just do not think that we (as a community) should encourage
such unfair substitutions.

IMO it would be much better to add a "cookbook" section to perltie
which analyses this example.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About