Why do I hate plumbing repairs?

Last days I had troubles with my hot water tank, which was leaking. It was not obvious at all because everything was totally wet in the bathroom, including walls and ceiling. I don’t know anything about plumbing, that’s why I called a plumber. He had the explanation: everything was wet because of the condensation, and the tank was kind of destroyed because of calcium deposits.

Well, you probably don’t read this to get such personal information. The interesting part? This is one of my recent thought: WHY do I dislike plumbing? Actually I don’t really dislike, but I don’t feel very comfortable regarding manual labor. I don’t feel very confident. And it’s all because of Computer Science.

Hum, this article now looks fascinating, how could I compare plumbing and computer science? It’s a story about testability, a story about QA. Think about this simple question: how would you ensure the pipe you’ve just repaired has fixed your problems for real?

Image for post
Image for post

You can’t. In fact, this is exactly what happened: the (first) plumber said “Your tank is out of service, here is the invoice for changing it!”. Two days after, something was still leaking: a flexible pipe did not support the pressure. But nevertheless, this plumber activated the tank and showed us everything was okay. Looks like it was not enough at all. It’s probably not feasible to unit test such things. When you’re writing code, you’re writing its unit test(s). And if the unit test has been properly designed, if it’s working, it will work forever. No matter you change your CPU, hard drive or your keyboard, your test will remain able to tell you if your code is still working.

For example, I don’t want to change a tank by myself, just because I think I can’t rely on my impressions. Okay, I can turn it on, nothing is leaking now… but how can I be sure I didn’t break something else, somewhere else, for another reason? It’s not about writing such codes:

// Check nothing is leaking once pipe has been changed.

Imagine if we could do such things for real-world issues? Surgery, cooking, and even fighting against bad breath? What a comfortable idea! Well, there is a probably business to do: e-plumbing, cloud plumbing or even agile plumbing repair.

Electronic Music artist as Paranormind. Photography. Computer Science. Machine Learning & Data-related things.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store