Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thundering Train Programming
Message
From
19/01/2006 20:17:43
John Baird
Coatesville, Pennsylvania, United States
 
 
To
19/01/2006 19:43:48
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01088463
Message ID:
01088736
Views:
36
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
Map
View

Click here to load this message in the networking platform