DEV Community

Cover image for This TV Show Can Teach Problem-Solving Better Than Any Coding Class
Cesar Aguirre
Cesar Aguirre

Posted on

This TV Show Can Teach Problem-Solving Better Than Any Coding Class

Do you want to get better at coding?

Watch this TV show...

Not Silicon Valley or Mr. Robot or any other TV show featuring hackers. It's a show about doctors. I never thought hospital drama could teach problem-solving.

Watch House M.D.

Let me introduce you to Gregory House, the protagonist.

He's not a regular doctor. He doesn't like patients. He doesn't wear a white coat or use a stethoscope either. He's even sick and under constant medication. Weird, right?

But he gets the most complex, rarest cases because he's a brilliant problem solver. He even runs his own department at the hospital.

Every episode is a masterclass in how to solve complex problems.

The #1 rule of problem-solving

There's a line Dr. House says almost all the time:

"Everybody lies."

That's why Dr. House doesn't like to see patients. He only trusts brain scans, blood tests, and other exams.

Let me ask you this:

How many times have you received a bug report and Customer Support claimed they had verified logs, reproduced steps, and validated user data... And after hours of debugging, you realize the real problem was something they had claimed to have checked in the first place? Arrggg!

If you ask Dr. House, everybody lies:

  • End users lie.
  • Documentation lies.
  • Customer Support lies.
  • Other engineers lie.
  • Even you and I lie.

Always trust but verify.

That's Dr. House's #1 rule to solve problems.

House M.D has conflict and drama with excellent storytelling. But it also teaches powerful problem-solving lessons. Go watch season 1 and let me know what you learned.

I expand on what Dr. House has to teach us as coders in Street-Smart Coding. Yes, one of the lessons is watching a TV show about doctors. Because coding isn't just syntax and speed. It's also thinking like a doctor with complex cases.

Top comments (4)

Collapse
 
baltasarq profile image
Baltasar García Perez-Schofield •

And also Dr. House is one of the best motivational quotes provider, such as the one to use to end a meeting.

"Come on, come on, there are lots of porno on the Internet, and it won't download by itself."

Collapse
 
canro91 profile image
Cesar Aguirre •

LOL!

Collapse
 
baltasarq profile image
Baltasar García Perez-Schofield •

I've always been interested in "House, M.D", as a show in which problem-solving is taught, and even shown as an interesting drama. However, I've always been bothered by that "everybody lies" motto.
It's easy to guess that that belief will come back and bite the main character.
I remember once there was an earthquake or something like that, and two women were in the hospital, severely injured, face bandaged. One of them died soon.
The boyfriend of the woman still alive was around. They were doing all kind of checks on her, and nothing made sense. For instance, the couple were trying to have a baby, but the girl was on the pill. House was constantly making fun of the boyfriend. "A woman lying to her boyfriend? What a novelty."
The solution to the puzzle is easy when you think about it.
Nobody was lying; the paramedics had exchanged the identification for both women.
That meant two boyfriends had to exchange their roles: one, mourning for his girlfriend, found out that she was still alive. The other boyfriend, well... the other way around.

Collapse
 
canro91 profile image
Cesar Aguirre •

Ohhh I think I remember that episode...Great show.