Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: How to map function name to coderef?

by TJPride (Pilgrim)
on Jan 08, 2012 at 03:27 UTC ( [id://946821]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How to map function name to coderef?
in thread How to map function name to coderef?

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re^5: How to map function name to coderef?

Replies are listed 'Best First'.
Re^6: How to map function name to coderef?
by GrandFather (Saint) on Jan 08, 2012 at 04:49 UTC

    At the risk of carrying this thread too far (and thus missing the best stopping point):

    There is always a best solution to any problem.

    Ahh, that is the notion I'd like to disabuse you of because holding such a notion can be a big impediment to getting any work done, or even providing a suitable solution to a problem.

    There are several problems with seeking an ideal "best solution".

    1. There may be many "almost best" solutions that are entirely suitable for some particular task. Seeking the "best" solution may waste a great deal of time where accepting a slightly less ideal solution provides the same effective performance and gets the job done in a timely fashion.
    2. There may be many essentially equivalent "best" solutions so choosing the "one best" solution may not be possible.
    3. There may be no "best" (or even any) solution at all so seeking one is futile.
    4. The problem specification may be so poor that it is not possible to determine where a best solution may lie.

    The last is often encountered on PerlMonks, especially in nodes that ask "What is the best way to ...".

    TIMTOWTDI is a common Perl mantra, often with the follow up "and most of them are wrong". A better codicil may be: "and none of them are best". Neither codicil need be correct, but they both contain a large grain of truth.

    True laziness is hard work

      Ahh, that is the notion I'd like to disabuse you of because holding such a notion can be a big impediment to getting any work done, or even providing a suitable solution to a problem.

      Perhaps you have forgotten all about Re: regex to find vowels in anyorder?

      Arguing over the philosophical implications of the ideal solution is also a big impediment to getting any work done, heh. You win, I have better things to do right now. Perhaps we may joust again in another thread.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found