--- "Wilson, Tom" <[EMAIL PROTECTED]> wrote:
> My two cents.... sometimes getting the answer is more important that
> learning it right away. There are many times in the various
> languages that I've worked with that I've gotten the answer and later
> on remembered the solution and incorporated it into something new
once
> I understood it.
Absolutely. Often, an elegant 3-line solution is much easier than the
20 lines of code that would be clearer, and doesn't cost the instructor
much to offer. saying "use my" is easy, even though the person with the
problem might not grasp the differences between namespace and scope for
a long time.
The only caveat is that that person *must* make the effort to grasp it.
If they don't learn things like context, scope, namespace, etc.,
they'll never be able to write anything more complex without someone
holding their hand. On the other hand, a real *understanding* of
references and scopes and namespaces is 90% of all you need to make
complicated object modules.
Personally, I think it's important to stroke the ego of the teacher a
little. We ask and offer solutions in hubris, and forget that there is
time required by the person on the other end. If someone asks for an
explanation, I'll spend a half-hour writing example code and explaining
it. If they say "never mind how it works, just build be a thingamahicky
that will make my code do what I want", I'll probably not waste the
time it would take to direct them to a consultant who will do exactly
that for $50/hr. (if they're lucky)
By the same token, if I sit down to explain something, I try to keep in
mind that the person on the other end may not care about what's under
the hood, but even if he doesn't, someone *else* might benefit from the
time. =o) Quite a few of the people on this list aren't exactly
"beginners", though many posters are. I'll say that I've certainly
learned a lot, and had a couple of myths dispelled. ;o]
Anyway, I think (hope? lol...) this thread is winding down.
It keeps producing long posts like this one, that might help someone
ask for help more effectively, but aren't realy helping anyone learn
Perl......
So -- who's up for a discussion of objects? ~chuckle~
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/