person holding tube 
Photo by CDC on Unsplash
in

Understanding the null result

What not failing a test doesn’t mean

Imagine you were in a world where something was wrong.

I know it’s a stretch, but stay with me, I know you can do it.  I believe in you.

Perhaps your website has a button of the wrong color. Or you there are records that aren’t showing up in your database query.

You’d probably write (or have your tech people write for you) a test. Perhaps they’d insert an “assert” into the code base.

If the test doesn’t fail or the assert doesn’t trigger?

What does this mean?

What it does not mean is there is no problem. The button hasn’t magically and retroactively become the right color. The query result hasn’t become correct.

What it means is that you need to look elsewhere for the cause of the problem.

I’ve never met a programmer that had had any difficulty understanding this. In fact, I’ve never come across one that needed it explained. It’s truly obvious.

On the other hand, when I go to a doctor with a complaint (a “symptom”), and they order a diagnostic that comes up “fine,” they seem to think it means that I am fine. That my symptoms and complaints somehow don’t matter or will go away or something. I’ve rarely come across a doctor that seems able to understand it. Somehow it is far from obvious.

I wish more doctors had first become programmers.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

      Written by Russell Brand

      Entrepreneur in residence at Founder Institute, he has mentored, performed due diligence on and invested in numerous early stage companies. Hundreds of these early stage companies have described Russell’s insights and advice as the most useful thing in the history of their companies. He has always had an inborn ability to find more valuable uses of new ideas and faster ways to achieve results.

      yellow and pink spiral stairs 

      Sales You Don’t Know You’ve Lost

      angry face illustration 

      Epic Fails For Form Letters