---
title: "Meaning & Key Takeaway of: An algorithm gives you the instructions…"
description: "\"“An algorithm gives you the instructions directly. A heuristic tells you how to discover the instructions for yourself, or at least where to look for t..."
image: "https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png"
---

#  An algorithm gives you the instructions directly. A…

![“An algorithm gives you the instructions directly. A heuristic tells you how to discover the instructions for yourself, or at least where to look for them.” quote by Steve McConnell](https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png)   [Download](https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png) [Open image](https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png)

> ““An algorithm gives you the instructions directly. A heuristic tells you how to discover the instructions for yourself, or at least where to look for them.””

[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.

Algorithms provide explicit steps; heuristics guide discovery of those steps or where to find them.

**In simple terms:** Algorithms give instructions; heuristics help you find them.

Key Takeaway

Use heuristics to uncover or improve algorithms.

Themes

problem solving learning methodology

Mood

analytical inquisitive

Type

educational practical

When to use this quote

- software development
- research
- education
- self‑learning
- process improvement

Key Concepts

algorithm design heuristic reasoning knowledge acquisition

Questions to Reflect On

- How do you decide when to rely on a heuristic versus a known algorithm?
- What risks arise from over‑trusting heuristics?

A Different Perspective

Heuristics may be vague and require trial and error.

★ ★ ★ ★ ★   No ratings yet

[Algorithm](https://sms4smile.com/quotes/about/algorithm/)

## Related quotes

> [No one knows what the right algorithm is, but it gives us hope that if we can discover some crude approximation of whatever this…](https://sms4smile.com/quotes/andrew-ng/no-one-knows-what-the-right-algorithm-is-but-it-gives-us-hope-that-if/)

[Andrew Ng](https://sms4smile.com/quotes/author/andrew-ng/)

> [Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee.](https://sms4smile.com/quotes/steve-mcconnell/heuristic-is-an-algorithm-in-a-clown-suit-it-s-less-predictable-it-s/)

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

> [The psychologist Gerd Gigerenzer has a simple heuristic. Never ask the doctor what you should do. Ask him what he would do if he…](https://sms4smile.com/quotes/nassim-nicholas-taleb/the-psychologist-gerd-gigerenzer-has-a-simple-heuristic-never-ask-the/)

[Nassim Nicholas Taleb](https://sms4smile.com/quotes/author/nassim-nicholas-taleb/)

> [“heuristic that favors simpler answers—with fewer factors, or less computation—offers precisely these “less is more”](https://sms4smile.com/quotes/brian-christian/heuristic-that-favors-simpler-answers-with-fewer-factors-or-less/)

[Brian Christian](https://sms4smile.com/quotes/author/brian-christian/)

> [Research programmes, besides their negative heuristic, are also characterized by their positive heuristic.](https://sms4smile.com/quotes/imre-lakatos/research-programmes-besides-their-negative-heuristic-are-also/)

[Imre Lakatos](https://sms4smile.com/quotes/author/imre-lakatos/)

> [“There is voluminous evidence that exclusive reliance on heuristic processing tendencies of Type I sometimes results in suboptimal responding (Baron, 2008; Evans, 2007a; Gilovich,…](https://sms4smile.com/quotes/keith-e-stanovich/there-is-voluminous-evidence-that-exclusive-reliance-on-heuristic/)

[Keith E. Stanovich](https://sms4smile.com/quotes/author/keith-e-stanovich/)

> [“Most people give substantial weight to anecdotal evidence, perhaps so much that it will cancel out positive recommendations found in consumer reports. People's tendency…](https://sms4smile.com/quotes/barry-schwartz/most-people-give-substantial-weight-to-anecdotal-evidence-perhaps-so/)

[Barry Schwartz](https://sms4smile.com/quotes/author/barry-schwartz/)

> [By their very nature, heuristic shortcuts will produce biases, and that is true for both humans and artificial intelligence, but the heuristics of AI…](https://sms4smile.com/quotes/daniel-kahneman/by-their-very-nature-heuristic-shortcuts-will-produce-biases-and-that/)

[Daniel Kahneman](https://sms4smile.com/quotes/author/daniel-kahneman/)

> [“For example, students of policy have noted that the availability heuristic helps explain why some issues are highly salient in the public’s mind while…](https://sms4smile.com/quotes/daniel-kahneman/for-example-students-of-policy-have-noted-that-the-availability/)

[Daniel Kahneman](https://sms4smile.com/quotes/author/daniel-kahneman/)

> [The materialistic point of view in psychology can claim, at best, only the value of an heuristic hypothesis.](https://sms4smile.com/quotes/wilhelm-wundt/the-materialistic-point-of-view-in-psychology-can-claim-at-best-only/)

[Wilhelm Wundt](https://sms4smile.com/quotes/author/wilhelm-wundt/)

> [“(from chapter 29, "Write In a Book What You See") "heuristic writing - writing to explore and discover what I didn't know. Writing as…](https://sms4smile.com/quotes/eugene-h-peterson/from-chapter-29-write-in-a-book-what-you-see-heuristic-writing/)

[Eugene H. Peterson](https://sms4smile.com/quotes/author/eugene-h-peterson/)

> [“The answer was straightforward: instances of the class will be retrieved from memory, and if retrieval is easy and fluent, the category will be…](https://sms4smile.com/quotes/daniel-kahneman/the-answer-was-straightforward-instances-of-the-class-will-be/)

[Daniel Kahneman](https://sms4smile.com/quotes/author/daniel-kahneman/)

> [“people rely on a limited number of heuristic principles which reduce the complex tasks of assessing probabilities and predicting values to simpler judgmental operations.…](https://sms4smile.com/quotes/daniel-kahneman/people-rely-on-a-limited-number-of-heuristic-principles-which-reduce/)

[Daniel Kahneman](https://sms4smile.com/quotes/author/daniel-kahneman/)

> [“The conclusion is that the ease with which instances come to mind is a System 1 heuristic, which is replaced by a focus on…](https://sms4smile.com/quotes/daniel-kahneman/the-conclusion-is-that-the-ease-with-which-instances-come-to-mind-is/)

[Daniel Kahneman](https://sms4smile.com/quotes/author/daniel-kahneman/)

> [Of course, this is a heuristic, which is a fancy way of saying that it doesn't work.](https://sms4smile.com/quotes/mark-jason-dominus/of-course-this-is-a-heuristic-which-is-a-fancy-way-of-saying-that-it/)

[Mark Jason Dominus](https://sms4smile.com/quotes/author/mark-jason-dominus/)

## 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/)

> [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…](https://sms4smile.com/quotes/steve-mcconnell/it-s-hard-enough-to-find-an-error-in-your-code-when-you-re-looking/)

[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/)

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

## More Algorithm quotes

> [“No algorithm exists for the metaphor, nor can a metaphor be produced by means of a computer’s precise instructions, no matter what the volume…](https://sms4smile.com/quotes/umberto-eco/no-algorithm-exists-for-the-metaphor-nor-can-a-metaphor-be-produced/)

[Umberto Eco](https://sms4smile.com/quotes/author/umberto-eco/)

> [“AI must orbit humanity, not turn humanity into a lie.”](https://sms4smile.com/quotes/abhijit-naskar/ai-must-orbit-humanity-not-turn-humanity-into-a-lie/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [No one knows what the right algorithm is, but it gives us hope that if we can discover some crude approximation of whatever this…](https://sms4smile.com/quotes/andrew-ng/no-one-knows-what-the-right-algorithm-is-but-it-gives-us-hope-that-if/)

[Andrew Ng](https://sms4smile.com/quotes/author/andrew-ng/)

> [This is where the world is going: direct access from anywhere to any type of data, whether it's a small piece of data or…](https://sms4smile.com/quotes/hasso-plattner/this-is-where-the-world-is-going-direct-access-from-anywhere-to-any/)

[Hasso Plattner](https://sms4smile.com/quotes/author/hasso-plattner/)

> [“We will start by sketching the recursive algorithm and then add details to get to a full description of the algorithm. Footnote : Translation:…](https://sms4smile.com/quotes/sariel-har-peled/we-will-start-by-sketching-the-recursive-algorithm-and-then-add/)

Sariel Har-Peled

> [“Use AI to empower life, don't abuse AI to ruin life. AI must orbit humanity, not turn humanity into a lie.”](https://sms4smile.com/quotes/abhijit-naskar/use-ai-to-empower-life-don-t-abuse-ai-to-ruin-life-ai-must-orbit/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“Naskar Constitution of GenAI (Sonnet) At times I'm hard on AI, at times I'm lenient, I have just one law on AI, keep the…](https://sms4smile.com/quotes/abhijit-naskar/naskar-constitution-of-genai-sonnet-at-times-i-m-hard-on-ai-at-times/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“An algorithm is a methodical set of steps that can be used to make calculations, resolve problems and reach decisions. An algorithm isn’t a…](https://sms4smile.com/quotes/yuval-noah-harari/an-algorithm-is-a-methodical-set-of-steps-that-can-be-used-to-make/)

[Yuval Noah Harari](https://sms4smile.com/quotes/author/yuval-noah-harari/)

> [You want to evaluate future borrowers, but in order to train an algorithm that will help you identify future defaults, you have to train…](https://sms4smile.com/quotes/anthony-goldbloom/you-want-to-evaluate-future-borrowers-but-in-order-to-train-an/)

[Anthony Goldbloom](https://sms4smile.com/quotes/author/anthony-goldbloom/)

> [“AI - The Whole Picture In medicine, we have a condition called oxygen toxicity, which means, even oxygen can do harm if inhaled excessively.…](https://sms4smile.com/quotes/abhijit-naskar/ai-the-whole-picture-in-medicine-we-have-a-condition-called-oxygen/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [Nature doesn't feel compelled to stick to a mathematically precise algorithm; in fact, nature probably can't stick to an algorithm.](https://sms4smile.com/quotes/margaret-wertheim/nature-doesn-t-feel-compelled-to-stick-to-a-mathematically-precise/)

[Margaret Wertheim](https://sms4smile.com/quotes/author/margaret-wertheim/)

> [An algorithm is like a recipe.](https://sms4smile.com/quotes/muhammad-waseem/an-algorithm-is-like-a-recipe/)

[Muhammad Waseem](https://sms4smile.com/quotes/author/muhammad-waseem/)

> [“So everything is an algorithm now. And just as every Google search uses its algorithms to produce a different result for each person searching,…](https://sms4smile.com/quotes/chris-anderson/so-everything-is-an-algorithm-now-and-just-as-every-google-search/)

[Chris Anderson](https://sms4smile.com/quotes/author/chris-anderson/)

> [“Algorithm without humanity is mental holocaust.”](https://sms4smile.com/quotes/abhijit-naskar/algorithm-without-humanity-is-mental-holocaust/)

[Abhijit Naskar](https://sms4smile.com/quotes/author/abhijit-naskar/)

> [“When security fails, the algorithm doesn't pay the bill.”](https://sms4smile.com/quotes/ricardo-novaes/when-security-fails-the-algorithm-doesn-t-pay-the-bill/)

Ricardo Novaes

[Browse all 63 Algorithm quotes ](https://sms4smile.com/quotes/about/algorithm/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“An algorithm gives you the instructions directly. A heuristic tells you how to discover the instructions for yourself, or at least where to look for them.”",
            "creator": {
                "@type": "Person",
                "name": "Steve McConnell"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/steve-mcconnell/an-algorithm-gives-you-the-instructions-directly-a-heuristic-tells/",
            "about": {
                "@type": "Thing",
                "name": "Algorithm"
            },
            "@id": "https://sms4smile.com/quotes/steve-mcconnell/an-algorithm-gives-you-the-instructions-directly-a-heuristic-tells/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png",
                "contentUrl": "https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png",
                "url": "https://sms4smile.com/quotes/i/927/steve-mcconnell-11957_algorithm_an-algorithm-gives-you-the-instructions_1709691.png",
                "width": 1080,
                "height": 1080,
                "caption": "“An algorithm gives you the instructions directly. A heuristic tells you how to discover the instructions for…” — 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": "“An algorithm gives you the instructions...",
                    "item": "https://sms4smile.com/quotes/steve-mcconnell/an-algorithm-gives-you-the-instructions-directly-a-heuristic-tells/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/steve-mcconnell/an-algorithm-gives-you-the-instructions-directly-a-heuristic-tells/#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
            }
        }
    ]
}
```
