in reply to Re: Re: Re: Re: Re: Re: Tie-ing hashes clobbers data
in thread Tie-ing hashes clobbers data
The rub however was the issue of method namespaces and precisely the issue to which you refer, the meaning of the underbar.
To me (and it seemed quite a few other people) the underbar says to the consumer of the class, "DONT USE ME", but to the developer/extender of the module it says "THERE ARE SPECIAL RULES FOR USING THIS METHOD". Special mention was made of wrappers for recursive subs and other utility type scenarios.
Now others see it as you appear to, the cut and dried, "PRIVATE, IMPLEMENTATION MIGHT CHANGE". Personally I think that this interpretation of the convention while perhaps suitable in other languages is not so suitable in Perl. It fails to account for a need for the special rules type functions and marking them as distinct.
I might be weird, but if a sub is going to change interface then it should be documented accordingly. Simply expecting me or any other programmer to interpret "private" in the same way that you do is unreasonable in a language like perl where there is no concept of privacy (er caveats of course :-)
Anyway, I really wish you would unmask yourself, itd be easier to carry on this conversation...
I suppose you have your reasons however. :-)
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Re: Re: Tie-ing hashes clobbers data
by Anonymous Monk on Apr 09, 2002 at 23:21 UTC | |
by demerphq (Chancellor) on Apr 10, 2002 at 11:46 UTC | |
by Anonymous Monk on Apr 10, 2002 at 20:23 UTC |