Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thundering Train Programming
Message
De
19/01/2006 20:17:43
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
19/01/2006 19:43:48
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01088463
Message ID:
01088736
Vues:
34
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform