Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Re: Re: Context aware functions - best practices?

by BrowserUk (Pope)
on Jan 16, 2003 at 20:39 UTC ( #227489=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Context aware functions - best practices?
in thread Context aware functions - best practices?

Okay. So am I right in thinking that the objection only really applies if the sub in question is a method of a class and therefore break when called via the subclass?


Examine what is said, not who speaks.

The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.


Comment on Re: Re: Re: Re: Re: Context aware functions - best practices?
Re: Re: Re: Re: Re: Re: Context aware functions - best practices?
by demerphq (Chancellor) on Jan 17, 2003 at 12:39 UTC
    Im not sure which objection you mean exactly. But my original point applies to both OO and classical-imperative programming. Basically its "dont try to out-smart your user". Its usually unnecessary given the nature of Perl, and often a PITA to work around when you find out that you the user is smarter than the original programmer anyway.

    :-)

    --- demerphq
    my friends call me, usually because I'm late....

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://227489]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2015-07-06 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls