Re: script write should have checked.... but
Should have been seen with at least one review, especially with the comment.
I was working somewhere last year where a near-identical piece of code was submitted for review.
Of course, every reviewer screamed at it. But the coder complained to his management that he was getting a hard time, and management then *insisted* that the code be used. So it went live.
That particular code didn't go to external customers, but it will cause the system to melt down eventually...
Vic.