Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If you hardcode user names, you might be a crappy coder
Message
De
13/06/2021 15:51:06
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
13/06/2021 12:50:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01680936
Message ID:
01681181
Vues:
55
>>
>>Good. Better to be associated with calling out crappy coders than being one.
>>
>
>Better still to avoid either endeavor altogether.

I inherited a project built by some recent college grads. It was for a dispatching system for nursing care. There were a number of bugs they could not solve, as usual. I examined the logs and the code. So, I pretended to call a patient that needed treatment for hemophelia and set up some treatment. I put that person on hold. Took a call from someone that needed blood clot busters. Hung up, hit save. then hit save on the first patient.

The hemopheliac got the records for the blood clot busters and their own treatment. The blood clot patient got nothing. Both would have died because of these geniuses. All because they used a single public variable to track the active patient.

Don't bully me to not to push better practices and ignore facts.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform