---
title: "Meaning & Key Takeaway of: Programming is usually taught by examples."
description: "\"Programming is usually taught by examples.\" — Niklaus Wirth"
image: "https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png"
---

#  Programming is usually taught by examples.

![“Programming is usually taught by examples.” quote by Niklaus Wirth](https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png)   [Download](https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png) [Open image](https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png)

> “Programming is usually taught by examples.”

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

## About This Quote

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

Teaching programming through concrete examples helps learners grasp abstract concepts more effectively.

**In simple terms:** Learn by seeing examples.

Key Takeaway

Use examples to teach coding.

Themes

education learning programming pedagogy

Mood

informative practical

Type

educational technical

When to use this quote

- classrooms
- online tutorials
- bootcamps
- self-study

Key Concepts

experiential learning example-driven instruction

Questions to Reflect On

- What balance of examples and theory works best?
- How can you ensure examples cover edge cases?

A Different Perspective

Examples alone may not foster deep understanding without theory.

★ ★ ★ ★ ★   No ratings yet

[Programming](https://sms4smile.com/quotes/about/programming/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [Experience shows that the success of a programming course critically depends on the choice of these examples.](https://sms4smile.com/quotes/niklaus-wirth/experience-shows-that-the-success-of-a-programming-course-critically/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [ Software gets slower faster than hardware gets faster. (Or, sometimes known by\] Grove \[the head of Intel\] giveth and Gates \[the head of Microsoft\]… ](https://sms4smile.com/quotes/niklaus-wirth/software-gets-slower-faster-than-hardware-gets-faster-or-sometimes/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Usually its users discover sooner or later that their program does not deliver all the desired results, or worse, that the results requested were…](https://sms4smile.com/quotes/niklaus-wirth/usually-its-users-discover-sooner-or-later-that-their-program-does/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Amy Winehouse and Paul Weller are examples of poets, I think.](https://sms4smile.com/quotes/jools-holland/amy-winehouse-and-paul-weller-are-examples-of-poets-i-think/)

[Jools Holland](https://sms4smile.com/quotes/author/jools-holland/)

> [“These bizarre examples attempt to prove one conceptual point or another by deliberately reducing all but one underappreciated feature of some phenomenon to zero,…](https://sms4smile.com/quotes/daniel-dennett/these-bizarre-examples-attempt-to-prove-one-conceptual-point-or/)

[Daniel Dennett](https://sms4smile.com/quotes/author/daniel-dennett/)

> [God love Neil Patrick Harris - how great is that. People grew up with him; they go, 'Oh it's him, it's that little boy…](https://sms4smile.com/quotes/bryan-batt/god-love-neil-patrick-harris-how-great-is-that-people-grew-up-with/)

[Bryan Batt](https://sms4smile.com/quotes/author/bryan-batt/)

> [Some examples can't change an opinion into a fact…but few samples do..](https://sms4smile.com/quotes/priyanka/some-examples-can-t-change-an-opinion-into-a-fact-but-few-samples-do/)

[Priyanka](https://sms4smile.com/quotes/author/priyanka/)

> [To lead by example is to offer your life as a living diarry for others to read. Never make your life pages blank; make…](https://sms4smile.com/quotes/anonymous/to-lead-by-example-is-to-offer-your-life-as-a-living-diarry-for/)

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

> [“Life is like defusing a bomb, once you cut the wrong wire your whole life is ruined.”](https://sms4smile.com/quotes/mohamed-zahy-hussain/life-is-like-defusing-a-bomb-once-you-cut-the-wrong-wire-your-whole/)

Mohamed Zahy Hussain

> [The writers who reject tendentiousness and purpose in their work are the very ones who display it in every word they write. I could…](https://sms4smile.com/quotes/bjornstjerne-bjornson/the-writers-who-reject-tendentiousness-and-purpose-in-their-work-are/)

[Bjornstjerne Bjornson](https://sms4smile.com/quotes/author/bjornstjerne-bjornson/)

> [I hate the stereotype of the pitfalls of the child actor. There are so many amazing examples - Natalie Portman, Joseph Gordon-Levitt, Jodie Foster,…](https://sms4smile.com/quotes/jamie-bell/i-hate-the-stereotype-of-the-pitfalls-of-the-child-actor-there-are-so/)

[Jamie Bell](https://sms4smile.com/quotes/author/jamie-bell/)

> [Other places are also generators of far-flung violence beyond their own borders - Pakistan and Saudi Arabia are obvious examples - but none has…](https://sms4smile.com/quotes/stephen-kinzer/other-places-are-also-generators-of-far-flung-violence-beyond-their/)

[Stephen Kinzer](https://sms4smile.com/quotes/author/stephen-kinzer/)

> [Teachers don't tell us the truth about historical people. If we knew the truth, parents couldn't hold their lives up as examples.](https://sms4smile.com/quotes/tom-hulce/teachers-don-t-tell-us-the-truth-about-historical-people-if-we-knew/)

Tom Hulce

> [We create in people through our actions and example. In this way people around us become reflections of our own behavioral patterns and internal…](https://sms4smile.com/quotes/anonymous/we-create-in-people-through-our-actions-and-example-in-this-way/)

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

> [The best way to understanding is a few good examples.](https://sms4smile.com/quotes/isaac-newton/the-best-way-to-understanding-is-a-few-good-examples/)

[Isaac Newton](https://sms4smile.com/quotes/author/isaac-newton/)

## More by Niklaus Wirth

> [ Software gets slower faster than hardware gets faster. (Or, sometimes known by\] Grove \[the head of Intel\] giveth and Gates \[the head of Microsoft\]… ](https://sms4smile.com/quotes/niklaus-wirth/software-gets-slower-faster-than-hardware-gets-faster-or-sometimes/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [C++ is an insult to the human brain](https://sms4smile.com/quotes/niklaus-wirth/c-is-an-insult-to-the-human-brain/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Usually its users discover sooner or later that their program does not deliver all the desired results, or worse, that the results requested were…](https://sms4smile.com/quotes/niklaus-wirth/usually-its-users-discover-sooner-or-later-that-their-program-does/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Our ultimate goal is extensible programming. By this, we mean the construction of hierarchies of modules, each module adding new functionality to the system.](https://sms4smile.com/quotes/niklaus-wirth/our-ultimate-goal-is-extensible-programming-by-this-we-mean-the/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [During the process of stepwise refinement, a notation which is natural to the problem in hand should be used as long as possible.](https://sms4smile.com/quotes/niklaus-wirth/during-the-process-of-stepwise-refinement-a-notation-which-is-natural/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Program construction consists of a sequence of refinement steps.](https://sms4smile.com/quotes/niklaus-wirth/program-construction-consists-of-a-sequence-of-refinement-steps/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [The idea that one might derive satisfaction from his or her successful work, because that work is ingenious, beautiful, or just pleasing, has become…](https://sms4smile.com/quotes/niklaus-wirth/the-idea-that-one-might-derive-satisfaction-from-his-or-her/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Prolific programmers contribute to certain disaster.](https://sms4smile.com/quotes/niklaus-wirth/prolific-programmers-contribute-to-certain-disaster/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [The possible solutions to a given problem emerge as the leaves of a tree, each node representing a point of deliberation and decision.](https://sms4smile.com/quotes/niklaus-wirth/the-possible-solutions-to-a-given-problem-emerge-as-the-leaves-of-a/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Nevertheless, I consider OOP as an aspect of programming in the large; that is, as an aspect that logically follows programming in the small…](https://sms4smile.com/quotes/niklaus-wirth/nevertheless-i-consider-oop-as-an-aspect-of-programming-in-the-large/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [In the practical world of computing, it is rather uncommon that a program, once it performs correctly and satisfactorily, remains unchanged forever.](https://sms4smile.com/quotes/niklaus-wirth/in-the-practical-world-of-computing-it-is-rather-uncommon-that-a/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [My being a teacher had a decisive influence on making language and systems as simple as possible so that in my teaching, I could…](https://sms4smile.com/quotes/niklaus-wirth/my-being-a-teacher-had-a-decisive-influence-on-making-language-and/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Good engineering is characterized by gradual, stepwise refinement of products that yields increased performance under given constraints and with given resources.](https://sms4smile.com/quotes/niklaus-wirth/good-engineering-is-characterized-by-gradual-stepwise-refinement-of/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [Professors typically spend their time in meetings about planning, policy, proposals, fund-raising, consulting, interviewing, traveling, and so forth, but spend relatively little time at…](https://sms4smile.com/quotes/niklaus-wirth/professors-typically-spend-their-time-in-meetings-about-planning/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

> [A primary cause of complexity is that software vendors uncritically adopt almost any feature that users want.](https://sms4smile.com/quotes/niklaus-wirth/a-primary-cause-of-complexity-is-that-software-vendors-uncritically/)

[Niklaus Wirth](https://sms4smile.com/quotes/author/niklaus-wirth/)

[Explore all 38 Niklaus Wirth quotes ](https://sms4smile.com/quotes/author/niklaus-wirth/)

## More Examples quotes

> [I hate the stereotype of the pitfalls of the child actor. There are so many amazing examples - Natalie Portman, Joseph Gordon-Levitt, Jodie Foster,…](https://sms4smile.com/quotes/jamie-bell/i-hate-the-stereotype-of-the-pitfalls-of-the-child-actor-there-are-so/)

[Jamie Bell](https://sms4smile.com/quotes/author/jamie-bell/)

> [Amy Winehouse and Paul Weller are examples of poets, I think.](https://sms4smile.com/quotes/jools-holland/amy-winehouse-and-paul-weller-are-examples-of-poets-i-think/)

[Jools Holland](https://sms4smile.com/quotes/author/jools-holland/)

> [We create in people through our actions and example. In this way people around us become reflections of our own behavioral patterns and internal…](https://sms4smile.com/quotes/anonymous/we-create-in-people-through-our-actions-and-example-in-this-way/)

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

> [Teachers don't tell us the truth about historical people. If we knew the truth, parents couldn't hold their lives up as examples.](https://sms4smile.com/quotes/tom-hulce/teachers-don-t-tell-us-the-truth-about-historical-people-if-we-knew/)

Tom Hulce

> [Other places are also generators of far-flung violence beyond their own borders - Pakistan and Saudi Arabia are obvious examples - but none has…](https://sms4smile.com/quotes/stephen-kinzer/other-places-are-also-generators-of-far-flung-violence-beyond-their/)

[Stephen Kinzer](https://sms4smile.com/quotes/author/stephen-kinzer/)

> [The best way to understanding is a few good examples.](https://sms4smile.com/quotes/isaac-newton/the-best-way-to-understanding-is-a-few-good-examples/)

[Isaac Newton](https://sms4smile.com/quotes/author/isaac-newton/)

> [The writers who reject tendentiousness and purpose in their work are the very ones who display it in every word they write. I could…](https://sms4smile.com/quotes/bjornstjerne-bjornson/the-writers-who-reject-tendentiousness-and-purpose-in-their-work-are/)

[Bjornstjerne Bjornson](https://sms4smile.com/quotes/author/bjornstjerne-bjornson/)

> [“Life is like defusing a bomb, once you cut the wrong wire your whole life is ruined.”](https://sms4smile.com/quotes/mohamed-zahy-hussain/life-is-like-defusing-a-bomb-once-you-cut-the-wrong-wire-your-whole/)

Mohamed Zahy Hussain

> [To lead by example is to offer your life as a living diarry for others to read. Never make your life pages blank; make…](https://sms4smile.com/quotes/anonymous/to-lead-by-example-is-to-offer-your-life-as-a-living-diarry-for/)

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

> [Some examples can't change an opinion into a fact…but few samples do..](https://sms4smile.com/quotes/priyanka/some-examples-can-t-change-an-opinion-into-a-fact-but-few-samples-do/)

[Priyanka](https://sms4smile.com/quotes/author/priyanka/)

> [God love Neil Patrick Harris - how great is that. People grew up with him; they go, 'Oh it's him, it's that little boy…](https://sms4smile.com/quotes/bryan-batt/god-love-neil-patrick-harris-how-great-is-that-people-grew-up-with/)

[Bryan Batt](https://sms4smile.com/quotes/author/bryan-batt/)

> [“These bizarre examples attempt to prove one conceptual point or another by deliberately reducing all but one underappreciated feature of some phenomenon to zero,…](https://sms4smile.com/quotes/daniel-dennett/these-bizarre-examples-attempt-to-prove-one-conceptual-point-or/)

[Daniel Dennett](https://sms4smile.com/quotes/author/daniel-dennett/)

> [“There are many examples to show that people will work more for a cause than for cash.”](https://sms4smile.com/quotes/dan-ariely/there-are-many-examples-to-show-that-people-will-work-more-for-a/)

[Dan Ariely](https://sms4smile.com/quotes/author/dan-ariely/)

> [The main objective of our cinema is to entertain. If you can pass on a message at the same time, that is fantastic, but…](https://sms4smile.com/quotes/abhishek-bachchan/the-main-objective-of-our-cinema-is-to-entertain-if-you-can-pass-on-a/)

[Abhishek Bachchan](https://sms4smile.com/quotes/author/abhishek-bachchan/)

> [The truth is very few of us are related to Napoleon or Cleopatra. Although, those are bad examples as I am actually descended from…](https://sms4smile.com/quotes/jim-piddock/the-truth-is-very-few-of-us-are-related-to-napoleon-or-cleopatra/)

[Jim Piddock](https://sms4smile.com/quotes/author/jim-piddock/)

Browse all 146 Examples quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Programming is usually taught by examples.",
            "creator": {
                "@type": "Person",
                "name": "Niklaus Wirth"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/niklaus-wirth/programming-is-usually-taught-by-examples/",
            "about": {
                "@type": "Thing",
                "name": "Examples"
            },
            "@id": "https://sms4smile.com/quotes/niklaus-wirth/programming-is-usually-taught-by-examples/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png",
                "contentUrl": "https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png",
                "url": "https://sms4smile.com/quotes/i/acd/niklaus-wirth-16962_examples_programming-is-usually-taught-by-example_3053664.png",
                "width": 1080,
                "height": 1080,
                "caption": "“Programming is usually taught by examples.” — Niklaus Wirth",
                "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": "Niklaus Wirth",
                    "item": "https://sms4smile.com/quotes/author/niklaus-wirth/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Programming is usually taught by examples.",
                    "item": "https://sms4smile.com/quotes/niklaus-wirth/programming-is-usually-taught-by-examples/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/niklaus-wirth/programming-is-usually-taught-by-examples/#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
            }
        }
    ]
}
```
