--- Kevin Meltzer <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 05, 2001 at 07:16:19AM -0700, Randal L. Schwartz
> ([EMAIL PROTECTED]) spew-ed forth:
> > >>>>> "chris" == chris robinson <[EMAIL PROTECTED]> writes:
> > 
> > chris> I have the following code.  This code prints a / for each
> > chris> occurance of a certain number/word in a file.  How would I
> > chris> change this to print a / for each 5 instances of a given
> > chris> word/number?
> > 
> > meta-question: Do we have a policy here of suspecting homework
> > and handling it appropriately (as in, DON'T GIVE THE ANSWER)?
> 
> Nothing is set in stone on how to handle (possible) homework
> questions. Just because it
> smells like homework, doesn't mean it is (it could just be teen
> spirit!).
> 
> If you suspect homework, why not just give a pointer to the
> appropriate docs
> instead of a detailed explination (which should be pretty reasonable
> to give
> any beginner on non-homework questions as well). 

Sometimes it works to just ask. A fellow recently gave me a plausible
explanation -- he was doing good old-fashioned self-study.

I helped as much as I could, but the things I gave him were usually
nothing a teacher would have accepted anyway -- classes that assign a
program for such a specific task usually try to teach one thing in the
assignment, and a "better" way to do it sometimes isn't good enough.
=o)

I agree, though -- if you're not sure, help them find the answer,
rather than give it to them. Tutor, don't do it for them. ;o]

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to