On 05/22/2013 03:03 PM, Albert-Jan Roskam wrote:
Subject: Re: [Tutor] try..except - what about that ton of **Error statements?
On 23/05/13 02:09, boB Stepp wrote:
I was not aware that hardware damage could be caused by poor
programming. I am curious; can you give some examples of how this
might occur?
There used to be a program that would let your harddisk "sing" a melody by
letting it frantically spin. I always thought this was *not* a good idea, though I have
never heard of accidents with it. ;-)
I had a young lady working for me that was writing a printer driver, the
kind that these days would be embedded inside the printer. I believe it
was a daisy-wheel printer. It used a stepper motor which was stepped up
gradually from zero to full speed and back again. Anyway, she put a
breakpoint in the code at the point where the carriage was ramped up,
and the code stopped, but the carriage kept going, It almost made it
through the outer wall of the printer - totalled.
--
DaveA
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor