---
title: "Meaning & Key Takeaway of: It's hard enough to find an error in your…"
description: "\"It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free.\" — Steve McCon..."
image: "https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png"
---

#  It's hard enough to find an error in your code when you're…

![“It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free.” quote by Steve McConnell](https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png)   [Download](https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png) [Open image](https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png)

> “It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free.”

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Assuming code works without testing leads to missed bugs; thorough verification is essential.

**In simple terms:** Assuming code is flawless hides errors.

Key Takeaway

Test actively, avoid assumptions.

Themes

software quality testing mindset

Mood

cautious analytical

Type

practical educational

When to use this quote

- code reviews
- unit testing
- continuous integration
- pair programming

Key Concepts

debugging cognitive bias verification

Questions to Reflect On

- How do you ensure your tests cover edge cases?
- What habits prevent overconfidence in code?

A Different Perspective

Even with testing, hidden defects may persist if tests are inadequate.

★ ★ ★ ★ ★   No ratings yet

[Code](https://sms4smile.com/quotes/about/code/) [Coders](https://sms4smile.com/quotes/about/coders/) [Computer programming](https://sms4smile.com/quotes/about/computer-programming/) [Funny inspirational](https://sms4smile.com/quotes/about/funny-inspirational/) [Programming](https://sms4smile.com/quotes/about/programming/) [Software](https://sms4smile.com/quotes/about/software/) [Software engineering](https://sms4smile.com/quotes/about/software-engineering/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.](https://sms4smile.com/quotes/steve-mcconnell/it-s-ok-to-figure-out-murder-mysteries-but-you-shouldn-t-need-to/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Testing by itself does not improve software quality. Test results are an indicator of quality, but in and of themselves, they don't improve it.…](https://sms4smile.com/quotes/steve-mcconnell/testing-by-itself-does-not-improve-software-quality-test-results-are/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“Trying to achieve an error-free manuscript is almost like trying to fly to the moon on a paper airplane.”](https://sms4smile.com/quotes/jon-michael-riley/trying-to-achieve-an-error-free-manuscript-is-almost-like-trying-to/)

Jon Michael Riley

> [There are two ways to write error-free programs; only the third one works.](https://sms4smile.com/quotes/alan-perlis/there-are-two-ways-to-write-error-free-programs-only-the-third-one/)

[Alan Perlis](https://sms4smile.com/quotes/author/alan-perlis/)

> [We strive for error-free medicine in a world that is sometimes all too human.](https://sms4smile.com/quotes/anonymous/we-strive-for-error-free-medicine-in-a-world-that-is-sometimes-all/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

> [The most efficient way to memorise a piece is to use the one which proceeds in an error free manner](https://sms4smile.com/quotes/sergei-rachmaninoff/the-most-efficient-way-to-memorise-a-piece-is-to-use-the-one-which/)

[Sergei Rachmaninoff](https://sms4smile.com/quotes/author/sergei-rachmaninoff/)

> [No one who lives in error is free.](https://sms4smile.com/quotes/euripides/no-one-who-lives-in-error-is-free/)

[Euripides](https://sms4smile.com/quotes/author/euripides/)

> [Success tends to go not to the person who is error-free, because he also tends to be risk-averse. Rather it goes to the person…](https://sms4smile.com/quotes/donald-rumsfeld/success-tends-to-go-not-to-the-person-who-is-error-free-because-he/)

[Donald Rumsfeld](https://sms4smile.com/quotes/author/donald-rumsfeld/)

> [Computer language design is just like a stroll in the park. Jurassic Park, that is.](https://sms4smile.com/quotes/larry-wall/computer-language-design-is-just-like-a-stroll-in-the-park-jurassic/)

[Larry Wall](https://sms4smile.com/quotes/author/larry-wall/)

> [With computer science, I had to go through that uncomfortable process of my brain establishing a hash table, if you will - the coders…](https://sms4smile.com/quotes/justine-bateman/with-computer-science-i-had-to-go-through-that-uncomfortable-process/)

[Justine Bateman](https://sms4smile.com/quotes/author/justine-bateman/)

> [For instance, I assume those "carrots" we have on our keyboards were there originally to express "greater than" and "less than." Then they were…](https://sms4smile.com/quotes/michael-bierut/for-instance-i-assume-those-carrots-we-have-on-our-keyboards-were/)

[Michael Bierut](https://sms4smile.com/quotes/author/michael-bierut/)

> [Our world is enriched when coders and marketers dazzle us with smartphones and tablets, but, by themselves, they are just slabs. It is the…](https://sms4smile.com/quotes/nicholas-kristof/our-world-is-enriched-when-coders-and-marketers-dazzle-us-with/)

[Nicholas Kristof](https://sms4smile.com/quotes/author/nicholas-kristof/)

> [I'm a great coder. But I am not pushing that so much anymore because there are thousands of great coders.](https://sms4smile.com/quotes/bill-budge/i-m-a-great-coder-but-i-am-not-pushing-that-so-much-anymore-because/)

[Bill Budge](https://sms4smile.com/quotes/author/bill-budge/)

> [As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought.…](https://sms4smile.com/quotes/maurice-wilkes/as-soon-as-we-started-programming-we-found-to-our-surprise-that-it/)

[Maurice Wilkes](https://sms4smile.com/quotes/author/maurice-wilkes/)

> [It's a curious thing about our industry: not only do we not learn from our mistakes, we also don't learn from our successes.](https://sms4smile.com/quotes/keith-braithwaite/it-s-a-curious-thing-about-our-industry-not-only-do-we-not-learn-from/)

Keith Braithwaite

## More by Steve McConnell

> [“it's done by creating 25 times as many dirty tests”](https://sms4smile.com/quotes/steve-mcconnell/it-s-done-by-creating-25-times-as-many-dirty-tests/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [... programming requires more concentration than other activities. It's the reason programmers get upset about 'quick interruptions' - such interruptions are tantamount to asking…](https://sms4smile.com/quotes/steve-mcconnell/programming-requires-more-concentration-than-other-activities-it-s/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [The job of the average manager requires a shift in focus every few minutes. The job of the average software developer requires that the…](https://sms4smile.com/quotes/steve-mcconnell/the-job-of-the-average-manager-requires-a-shift-in-focus-every-few/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“the road to programming hell is paved with global variables,”](https://sms4smile.com/quotes/steve-mcconnell/the-road-to-programming-hell-is-paved-with-global-variables/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“usually more time is spent in making good-looking presentation slides than in improving the quality of the software.”](https://sms4smile.com/quotes/steve-mcconnell/usually-more-time-is-spent-in-making-good-looking-presentation-slides/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“the error rate in manual testing is comparable to the bug rate in the code being tested.”](https://sms4smile.com/quotes/steve-mcconnell/the-error-rate-in-manual-testing-is-comparable-to-the-bug-rate-in-the/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“few people can understand more than three levels of nested ifs”](https://sms4smile.com/quotes/steve-mcconnell/few-people-can-understand-more-than-three-levels-of-nested-ifs/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [ “\[...\] you shouldn't be uneasy about any parts of the architecture. It shouldn't contain anything just to please the boss. It shouldn't contain anything… ](https://sms4smile.com/quotes/steve-mcconnell/you-shouldn-t-be-uneasy-about-any-parts-of-the-architecture-it/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.](https://sms4smile.com/quotes/steve-mcconnell/it-s-ok-to-figure-out-murder-mysteries-but-you-shouldn-t-need-to/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“Programmers working with high-level languages achieve better productivity and quality than those working with lower-level languages. Languages such as C++, Java, Smalltalk, and Visual…](https://sms4smile.com/quotes/steve-mcconnell/programmers-working-with-high-level-languages-achieve-better/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [The trouble with quick and dirty is that dirty remains long after quick has been forgotten.](https://sms4smile.com/quotes/steve-mcconnell/the-trouble-with-quick-and-dirty-is-that-dirty-remains-long-after/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [“Be sure that the names you choose favor read-time convenience over write-time convenience.”](https://sms4smile.com/quotes/steve-mcconnell/be-sure-that-the-names-you-choose-favor-read-time-convenience-over/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [Even when you have skilled, motivated, hard-working people, the wrong team structure can undercut their efforts instead of catapulting them to success. A poor…](https://sms4smile.com/quotes/steve-mcconnell/even-when-you-have-skilled-motivated-hard-working-people-the-wrong/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [A typical software project can present more opportunities to learn from mistakes than some people get in a lifetime.](https://sms4smile.com/quotes/steve-mcconnell/a-typical-software-project-can-present-more-opportunities-to-learn/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [The default movement on a software project should be in the direction of taking elements of the software away to make it simpler rather…](https://sms4smile.com/quotes/steve-mcconnell/the-default-movement-on-a-software-project-should-be-in-the-direction/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

[Explore all 57 Steve McConnell quotes ](https://sms4smile.com/quotes/author/steve-mcconnell/)

## More Code quotes

> [At the deepest level, all living things that have ever been looked at have the same DNA code. And many of the same genes.](https://sms4smile.com/quotes/richard-dawkins/at-the-deepest-level-all-living-things-that-have-ever-been-looked-at/)

[Richard Dawkins](https://sms4smile.com/quotes/author/richard-dawkins/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [When we're done simplifying the tax code, getting the lobbyist carve outs our of the tax code, lowering our rates and letting people have…](https://sms4smile.com/quotes/paul-ryan/when-we-re-done-simplifying-the-tax-code-getting-the-lobbyist-carve/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The tax code is 10 times the size of the Bible with none of the good news.](https://sms4smile.com/quotes/paul-ryan/the-tax-code-is-10-times-the-size-of-the-bible-with-none-of-the-good/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The Cheney team had, for example, technological supremacy over the National Security Council staff. That is to say, they could read their e-mails. I…](https://sms4smile.com/quotes/lawrence-wilkerson/the-cheney-team-had-for-example-technological-supremacy-over-the/)

[Lawrence Wilkerson](https://sms4smile.com/quotes/author/lawrence-wilkerson/)

> [ \[T\]he tax code has been piling up, year after year, a symbol of everything gone wrong in America, of arrogant rulers and lost freedom,… ](https://sms4smile.com/quotes/dick-armey/t-he-tax-code-has-been-piling-up-year-after-year-a-symbol-of/)

[Dick Armey](https://sms4smile.com/quotes/author/dick-armey/)

> [In open source, you really have to be near the watershed to have an impact on the source code. Customers want to be near…](https://sms4smile.com/quotes/peter-fenton/in-open-source-you-really-have-to-be-near-the-watershed-to-have-an/)

[Peter Fenton](https://sms4smile.com/quotes/author/peter-fenton/)

> [We can use our art to become political, to become something you want to talk about. We make clothes, but we have the chance…](https://sms4smile.com/quotes/olivier-rousteing/we-can-use-our-art-to-become-political-to-become-something-you-want/)

[Olivier Rousteing](https://sms4smile.com/quotes/author/olivier-rousteing/)

> [Your zip code or your income level should not dictate your access to healthy drinking water.](https://sms4smile.com/quotes/alex-padilla/your-zip-code-or-your-income-level-should-not-dictate-your-access-to/)

[Alex Padilla](https://sms4smile.com/quotes/author/alex-padilla/)

[Browse all 1,662 Code quotes ](https://sms4smile.com/quotes/about/code/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "It's hard enough to find an error in your code when you're looking for it; it's even harder when you've assumed your code is error-free.",
            "creator": {
                "@type": "Person",
                "name": "Steve McConnell"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/steve-mcconnell/it-s-hard-enough-to-find-an-error-in-your-code-when-you-re-looking/",
            "about": {
                "@type": "Thing",
                "name": "Code"
            },
            "@id": "https://sms4smile.com/quotes/steve-mcconnell/it-s-hard-enough-to-find-an-error-in-your-code-when-you-re-looking/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png",
                "contentUrl": "https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png",
                "url": "https://sms4smile.com/quotes/i/496/steve-mcconnell-11957_code_it-s-hard-enough-to-find-an-error-in-you_233152.png",
                "width": 1080,
                "height": 1080,
                "caption": "“It's hard enough to find an error in your code when you're looking for it; it's even harder when you've…” — Steve McConnell",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Steve McConnell",
                    "item": "https://sms4smile.com/quotes/author/steve-mcconnell/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "It's hard enough to find an...",
                    "item": "https://sms4smile.com/quotes/steve-mcconnell/it-s-hard-enough-to-find-an-error-in-your-code-when-you-re-looking/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/steve-mcconnell/it-s-hard-enough-to-find-an-error-in-your-code-when-you-re-looking/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
