John Baird
Coatesville, Pennsylvania, United States
Mike Yearwood
Toronto, Ontario, Canada
Arent' we taking this a little to the extreme? If I am the programmer, it is my responsibility to see that parameters are passed correctly between my functions. If I am counting on the user for input parameters, then I check them. I've seen programs were there were 20 lines of parameter checking on a simple function call. Its ridiculous and a waste of time and effort.
>Errors do happen and I believe we should do everything possible to stop them. If a physician makes a mistake and the patient dies because of an improperly sealed artery, do you think the doctor should not be responsible? Heck, doctors get sued for much less than that. It's so easy for us to ensure our tools are not abused. If my routine crashes because it was called improperly that may prevent a far more serious error. I don't continue driving my car while fire is coming out from under the hood.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only