Re: about dispatch tables



On 2010.04.26 15:24, Harry Putnam wrote:
I hope some of you will go along with this approach.

I want to try to describe briefly what problem I'm having.
But not show any working code.

I've made so much of a mess trying a lot of different things I'd like
to have some idea that at least theoretically I'm on the right track
(or wrong track).

I guess where I get stuck is how to make a dispatch table where some
of the choices themselves may require more interaction.

[ my apologies if you receive duplicates. I've been in the process of
changing my subscription address to all of my lists, but I hadn't done
this one yet. I sent the first copy from the wrong addr ]

Also, (I've been away for a little while so I apologize if I missed any
references to this) Mark Dominus has very kindly provided his Higher
Order Perl book online for free (donations accepted on the site),
available via PDF download:

http://hop.perl.plover.com/

The book is so mentally twisting, that it will change the way you look
at Perl.

Most of it is still out of my grasp, but it will most certainly make you
think, and you will be able to take pieces from it each time you read
it, or refer to it.

You'd be interested in Chapter 2, but don't start there. Start from the
beginning, and work your way through. By far, my first time through, I
barely understood anything, but the farther I read, the more the small
things began to click.

Having a good understanding of references will certainly help, but even
if you are overwhelmed while reading, remember, you can always come
back. Not only that, it may enable you to try new things that will
expand your understanding of how to find what you are looking for, and
more importantly, where to look.

Dispatch tables are great, but I'm sensing that it may help you if you
get a briefing of recursion as well.

Cheers,

Steve

ps. still one of my very favourite quotes that I have ever read:

"I sometimes enjoy the mind-bending exercise of imagining the result of
memoizing the Unix fork() function." ...heh ;)
.



Relevant Pages

  • Re: Please stop the personal attacks
    ... what someone says to them the first time. ... Repeating it over and over to them ... will not give them further understanding, and will only make you into a fool ... Steve is usually close behind him with a few ill-chosen ...
    (comp.sys.mac.advocacy)
  • Re: Bad Music
    ... > Understanding is a necessary condition for enjoyment. ... You could read or hear a Chinese poem any number of times, ... > Normally we greet any new piece with partial comprehension. ... > substantial piece of Beethoven he or she heard the first time out. ...
    (rec.music.classical.recordings)
  • Re: Good book on speech and the human voice
    ... references of that book I picked out the 2nd edition of Flanagan's ... reading I'm reading Richard Lyons' book "Understanding Digital Signal ... Ross-c ...
    (comp.speech.research)
  • Re: Form gone South
    ... and certainly removed table references. ... The first time I compiled it ... I have a use table and brow in the Load Event of the ... >> which works fine and then the application dies. ...
    (microsoft.public.fox.vfp.forms)
  • Re: A day with a Chinese engineer
    ... He seeing it for the first time and me seeing ... them for years but never really understanding the finer points. ... I saw patents going back to 1928 or so on that technology. ... my employer expects me to treat him like any other employee. ...
    (rec.crafts.metalworking)