Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If you hardcode user names, you might be a crappy coder
Message
From
13/06/2021 15:51:06
Mike Yearwood
Toronto, Ontario, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01680936
Message ID:
01681181
Views:
53
>>
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform