From: John English <je@bton.ac.uk>
Subject: Re: Exit Loop_Statement
Date: 2000/05/09
Date: 2000-05-09T14:51:59+00:00 [thread overview]
Message-ID: <391825BE.FDEF9B72@bton.ac.uk> (raw)
In-Reply-To: 8f91ps$vb3$1@nnrp1.deja.com
Robert Dewar wrote:
> In article <3917C83E.D088C4DF@bton.ac.uk>,
> John English <je@bton.ac.uk> wrote:
> > That should be Clients(1..4), right?
>
> Well yes, of course, and of course we all saw that. But don't
> you think it is instructive for people to find a bug like that
> for themselves. I preferred the previous post which gave a
> useful pointed hint (think about whether this will ever be
> true), to this one that provides the correction directly.
I would agree with you completely if the question had been "Why
does this code generate a Constraint_Error?" But it wasn't, so
I pointed out an unrelated minor typo in passing. Maybe he hit
the key next to the 4 by mistake. Maybe it was a deliberate error
to generate Constraint_Error for testing purposes.
> A hard part of computer programming is figuring out why what
> you have written does not work, and learning to be careful
> and avoid writing such things in the first place. Practice
> is really essential in this task. The purpose of assignments
> is to provide this practice, and you have to be careful that
> in an attempt to be helpful you do not bypass this very
> important function.
I know you don't like people giving direct answers to questions,
but I hadn't realised this also extended to questions that haven't
even been asked...
-----------------------------------------------------------------
John English | mailto:je@brighton.ac.uk
Senior Lecturer | http://www.it.bton.ac.uk/staff/je
Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS **
University of Brighton | -- see http://burks.bton.ac.uk
-----------------------------------------------------------------
next prev parent reply other threads:[~2000-05-09 0:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-09 0:00 Exit Loop_Statement David Freshwater
2000-05-09 0:00 ` Ken Garlington
2000-05-09 0:00 ` John English
2000-05-09 0:00 ` Robert Dewar
2000-05-09 0:00 ` David Freshwater
2000-05-09 0:00 ` DuckE
2000-05-09 0:00 ` John English [this message]
2000-05-09 0:00 ` John English
2000-05-09 0:00 ` Robert Dewar
2000-05-09 0:00 ` Gautier
2000-05-09 0:00 ` Robert Dewar
2000-05-10 0:00 ` Jeff Creem
2000-05-10 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox