That's fine when you're in a teaching environment.
The problem is when you're helping someone to find a solution quickly to a concrete problem you're faced with the alternatives:
- Explain a correct, efficient solution. Watch the eyes glaze over as soon as you get into anything complex.
- Give the correct, efficient solution and just say it works... great way to foster cargo-cult.
- Explain in simple chunks building up to the complete picture, and when you're half way through your victim will tell you "Don't have time for all that now, just tell me how to do it". Then go and beat your head against the nearest brick wall (concrete is good too)
- Give a simple solution, that's correct and safe, if not optimal. But then the
victim beginner doesn't learn as much.
In an in-house environment you can send beginners to
courses and give them assignments that will stretch them progressively. In a help mail-list that just isn't possible. You just have to excite a beginner's curiosity while holding their interest, and of course the balance is different for every individual.
I wonder if the best response is to give/explain the 'correct, optimal' (for some definition of 'correct' or 'optimal'), together with the simple safe long solution, and hope that the comparison will whet the beginner's appetite. And that takes more time than most people have available :(
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.