If Doctors Were Like Coders
(cross-posted from https://medium.com/@c09b6133a238/...)

Problem: The patient has a broken leg.


1. Ask the patient to reproduce the exact scenario that resulted in the broken leg. Watch closely to see if the leg breaks again. Check for consistency by repeating the scenario a few more times.

2. Explain that this isn’t an intended use case for the leg, and besides, it only affects one person. Ask the patient if, all things considered, he really wants to prioritize his broken leg over your other work.

3. Point out that the patient’s other leg performs just fine under the same circumstances. Ask if he can use his other leg instead, at least as a workaround.

4. Attach several accelerometers to the broken leg and break it again. Stare at the data received from the accelerometers, then shrug and declare it useless.

5. Decide that the patient’s problem must be in his spleen. After all, that’s the only part of his body you don’t really understand.

6. Track down the people who created the patient. Ask them if he’s ever had spleen problems before. When they seem confused, explain that he has a broken leg. Ignore them when they tell you that the spleen they created could not possibly cause a broken leg.

7. Ask Google where a person’s spleen is. Spend half an hour reading the Wikipedia article on Splenomegaly.

8. Open the patient and grumble about how tightly-coupled his spleen and circulatory system are. Examine the spleen’s outer surface to see if there are any obvious problems. Inform him that several of his organs are very old and he should consider replacing them with something more modern.

9. Compare the spleen to some pictures of spleens online. If anything looks different, try to make it look the same.

10. Remove the spleen completely. See if the patient’s leg is still broken. If so, put the spleen back in.

11. Tell the patient that you’ve noticed his body is made almost entirely out of cellular tissue, whereas most bodies these days are made out of cardboard. Explain that cardboard is a lot easier for beginners to understand, it’s more forgiving of newbie mistakes, and it’s the tissue franca of the Internet. Ask if he’d like you to rebuild his body with cardboard. It will take you longer, but then his body would be future-proof and dead simple. He could probably even fix it himself the next time it breaks.

12. Spend some time exploring the lymph nodes in the patient’s abdominal cavity. Accidentally discover that if the patient’s leg is held immobile for six weeks, it gets better.

13. Charge the patient for six weeks of work.

  • 7
    +1 for "tissue franca of the internet"
  • 5
    No. 4 XD

    No really this whole post is just magnificent
  • 3
  • 2
    You could have leave it like SDLC
  • 18
    Copy paste a spleen block from stack overflow?
  • 1
    Oh man you made my day 😂😂😂
  • 4
    Aand the reverse? If coders were like doctors?
  • 11
    @nickhh "The codebase has a bug, you say? Given the symptoms, it could be a race condition, an off-by-one, a null reference, a memory leak, a typo, or nothing. The only way to find out is to run these unit tests, which will cost you $10,000 each. Do you have your copay with you?"
  • 7
    @subha-py you mean DocOverflow 😁
  • 4
    @kb88 blood overflow will be appropriate
  • 1
    This deserves a thousand like. Actually all devRant must upvote this.

    This is one of the 5 #OriginalRants (though it's not a rant)

    😂😂😂 I'm dead
  • 1
    I will read this to my colleagues tomorrow :D
    You made my day op, thanks :thumbup:
  • 2
    This is plain awesome.
    Laughed from the first sentence all the way to the last one, which was a bit weird since I'm on the train, thank you very much.
  • 0
    Another Booker nominee. Beautifully written and pant wettingly funny, as well as clever
Add Comment