Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Absolute need of goto 4 correct functioning of loop routine.
#16
Hi, Meg.

My turn. I pointed out that JohnK had a bug in his bowling program. It gives 30 points on a strike, when it should be 10 + next two balls.

You noted that I should check the instructions.

Ouch! True. He clearly states that a strike gets 30.

My definition of a bug has always been "deviation from written specifications", not "user does not like how the program runs".

In this case, the written specifications clearly state that if you get a strike, you get 30 points. I might not like how the program runs, but have to admit that it has no bug in that regard.

Thanks for pointing that out.

I will probably get a similar note from John. (*gulp*)

Mac
Reply


Messages In This Thread
Need more - by Mac - 02-03-2005, 12:50 AM
Mea culpa - by Mac - 02-03-2005, 01:57 AM
Using goto - by Mango - 02-12-2005, 04:45 PM
Not required though - by Mac - 02-12-2005, 07:55 PM
Got UnLazy - by Mac - 02-12-2005, 11:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)