Recently, someone used the term (here) of 'lazy programming'. I chuckled but didn't comment. It exists - sometimes in the strangest of places.
I am playing with an old 486 with a 40 MB HDD - that type that needs its own controller. The drive is functional but the controller is meant for an 8 bit system and that's just not going to cut it. I can (and now have) improved it a great deal now that it's on a 16 bit system.
Anyhow, I own a copy of SpinRite (no, I didn't pirate it 'cause Steve deserves the money) and wanted to low-level format the drive. It's a different format than the 8 bit and will result in a much faster drive, with much faster seek and read times.
Along the way, I saw this:
(A STERN WARNING followed by) "To continue, press any key. To quit press ESC."
Do you see the problem with that?
The clause 'any key' includes the ESC key. So, to continue you can press any key except the ESC key. You can not press any key to continue.
I should email Steve Gibson (GRC) and let him know that I noticed a 'bug' in his program all these years later.
I am playing with an old 486 with a 40 MB HDD - that type that needs its own controller. The drive is functional but the controller is meant for an 8 bit system and that's just not going to cut it. I can (and now have) improved it a great deal now that it's on a 16 bit system.
Anyhow, I own a copy of SpinRite (no, I didn't pirate it 'cause Steve deserves the money) and wanted to low-level format the drive. It's a different format than the 8 bit and will result in a much faster drive, with much faster seek and read times.
Along the way, I saw this:
(A STERN WARNING followed by) "To continue, press any key. To quit press ESC."
Do you see the problem with that?
The clause 'any key' includes the ESC key. So, to continue you can press any key except the ESC key. You can not press any key to continue.
I should email Steve Gibson (GRC) and let him know that I noticed a 'bug' in his program all these years later.