---
title: "Meaning & Key Takeaway of: In this respect a program is like a poem…"
description: "\"In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about programming as if it were a production proc..."
image: "https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png"
---

#  In this respect a program is like a poem: you cannot write…

![“In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about programming as if it were a production process and measure &quot;programmer productivity&quot; in terms of &quot;number of lines of code produced&quot;. In so doing they book that number on the wrong side of…” quote by Edsger Dijkstra](https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png)   [Download](https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png) [Open image](https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png)

> “In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about programming as if it were a production process and measure "programmer productivity" in terms of "number of lines of code produced". In so doing they book that number on the wrong side of the ledger: we should always refer to "the number of lines of code spent".”

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

## About This Quote

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

Programming should be seen as a creative, expressive act like poetry, not a purely quantitative output measured by lines.

**In simple terms:** Programming is creative, not just counting lines.

Key Takeaway

Focus on quality, not quantity.

Themes

creativity programming productivity measurement

Mood

analytical thoughtful

Type

philosophical inspirational

When to use this quote

- software development
- code reviews
- team metrics

Key Concepts

artistic expression process thinking

Questions to Reflect On

- How can we better measure programmer impact?
- What creative aspects of coding are overlooked?

A Different Perspective

Lines of code can be a misleading metric for true productivity.

★ ★ ★ ★ ★   No ratings yet

[Book](https://sms4smile.com/quotes/about/book/) [Code](https://sms4smile.com/quotes/about/code/) [People](https://sms4smile.com/quotes/about/people/) [Poetry](https://sms4smile.com/quotes/about/poetry/) [Process](https://sms4smile.com/quotes/about/process/) [Productivity](https://sms4smile.com/quotes/about/productivity/) [Programmers](https://sms4smile.com/quotes/about/programmers/) [Programming](https://sms4smile.com/quotes/about/programming/) [Respect](https://sms4smile.com/quotes/about/respect/) [Technology](https://sms4smile.com/quotes/about/technology/) [Writing](https://sms4smile.com/quotes/about/writing/)

## Related quotes

> [Don't blame me for the fact that competent programming, as I view it as an intellectual possibility, will be too difficult for the average…](https://sms4smile.com/quotes/edsger-dijkstra/don-t-blame-me-for-the-fact-that-competent-programming-as-i-view-it/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [...our intellectual powers are rather geared to master static relations and that our powers to visualize processes evolving in time are relatively poorly developed.…](https://sms4smile.com/quotes/edsger-dijkstra/our-intellectual-powers-are-rather-geared-to-master-static-relations/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Mentally mutilated potential programmers beyond hope of regeneration.](https://sms4smile.com/quotes/edsger-dijkstra/mentally-mutilated-potential-programmers-beyond-hope-of-regeneration/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Are you quite sure that all those bells and whistles, all those wonderful facilities of your so called powerful programming languages, belong to the…](https://sms4smile.com/quotes/edsger-dijkstra/are-you-quite-sure-that-all-those-bells-and-whistles-all-those/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally…](https://sms4smile.com/quotes/edsger-dijkstra/it-is-practically-impossible-to-teach-good-programming-to-students/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The effective exploitation of his powers of abstraction must be regarded as one of the most vital activities of a competent programmer.](https://sms4smile.com/quotes/edsger-dijkstra/the-effective-exploitation-of-his-powers-of-abstraction-must-be/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [It is a mistake to think that programmers wares are programs. Programmers have to produce trustworthy solutions and present it in the form of…](https://sms4smile.com/quotes/edsger-dijkstra/it-is-a-mistake-to-think-that-programmers-wares-are-programs/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [When we take the position that it is not only the programmer's responsibility to produce a correct program but also to demonstrate its correctness…](https://sms4smile.com/quotes/edsger-dijkstra/when-we-take-the-position-that-it-is-not-only-the-programmer-s/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [We shall do a much better programming job, provided that we approach the task with a full appreciation of its tremendous difficulty, provided that…](https://sms4smile.com/quotes/edsger-dijkstra/we-shall-do-a-much-better-programming-job-provided-that-we-approach/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility,…](https://sms4smile.com/quotes/edsger-dijkstra/the-competent-programmer-is-fully-aware-of-the-strictly-limited-size/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [If you want more effective programmers, you will discover that they should not waste their time debugging, they should not introduce the bugs to…](https://sms4smile.com/quotes/edsger-dijkstra/if-you-want-more-effective-programmers-you-will-discover-that-they/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The computing scientist's main challenge is not to get confused by the complexities of his own making.](https://sms4smile.com/quotes/edsger-dijkstra/the-computing-scientist-s-main-challenge-is-not-to-get-confused-by/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [“Pragmatic Programmers are different. We are driven to find our bugs now, so we don't have to endure the shame of others finding our…](https://sms4smile.com/quotes/andrew-hunt/pragmatic-programmers-are-different-we-are-driven-to-find-our-bugs/)

[Andrew Hunt](https://sms4smile.com/quotes/author/andrew-hunt/)

> [I think once the artistic world of the type designer merged with the scientific world of the computer programmer, you began to see this…](https://sms4smile.com/quotes/michael-bierut/i-think-once-the-artistic-world-of-the-type-designer-merged-with-the/)

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

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

## More by Edsger Dijkstra

> [Production speed is severely slowed down if one works with half-time people who have other obligations as well. This is at least a factor…](https://sms4smile.com/quotes/edsger-dijkstra/production-speed-is-severely-slowed-down-if-one-works-with-half-time/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The computing scientist's main challenge is not to get confused by the complexities of his own making.](https://sms4smile.com/quotes/edsger-dijkstra/the-computing-scientist-s-main-challenge-is-not-to-get-confused-by/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Probably I am very naive, but I also think I prefer to remain so, at least for the time being and perhaps for the…](https://sms4smile.com/quotes/edsger-dijkstra/probably-i-am-very-naive-but-i-also-think-i-prefer-to-remain-so-at/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [In the good old days physicists repeated each other's experiments, just to be sure. Today they stick to FORTRAN, so that they can share…](https://sms4smile.com/quotes/edsger-dijkstra/in-the-good-old-days-physicists-repeated-each-other-s-experiments/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Don't compete with me: firstly, I have more experience, and secondly, I have chosen the weapons.](https://sms4smile.com/quotes/edsger-dijkstra/don-t-compete-with-me-firstly-i-have-more-experience-and-secondly-i/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Computer science is no more about computers than astronomy is about telescopes.](https://sms4smile.com/quotes/edsger-dijkstra/computer-science-is-no-more-about-computers-than-astronomy-is-about/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [The use of anthropomorphic terminology forces you linguistically to adopt an operational view. And it makes it practically impossible to argue about programs independently…](https://sms4smile.com/quotes/edsger-dijkstra/the-use-of-anthropomorphic-terminology-forces-you-linguistically-to/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Teaching to unsuspecting youngsters the effective use of formal methods is one of the joys of life because it is so extremely rewarding.](https://sms4smile.com/quotes/edsger-dijkstra/teaching-to-unsuspecting-youngsters-the-effective-use-of-formal/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [ Please don't fall into the trap of believing that I am terribly dogmatical about \[the goto statement\]. I have the uncomfortable feeling that others… ](https://sms4smile.com/quotes/edsger-dijkstra/please-don-t-fall-into-the-trap-of-believing-that-i-am-terribly/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Brainpower is by far our scarcest resource.](https://sms4smile.com/quotes/edsger-dijkstra/brainpower-is-by-far-our-scarcest-resource/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Programming in Basic causes brain damage.](https://sms4smile.com/quotes/edsger-dijkstra/programming-in-basic-causes-brain-damage/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [Several people have told me that my inability to suffer fools gladly is one of my main weaknesses.](https://sms4smile.com/quotes/edsger-dijkstra/several-people-have-told-me-that-my-inability-to-suffer-fools-gladly/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [I now have had my foggy crystal ball for quite a long time. Its predictions are invariably gloomy and usually correct, but I am…](https://sms4smile.com/quotes/edsger-dijkstra/i-now-have-had-my-foggy-crystal-ball-for-quite-a-long-time-its/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [About the use of language: it is impossible to sharpen a pencil with a blunt axe. It is equally vain to try to do…](https://sms4smile.com/quotes/edsger-dijkstra/about-the-use-of-language-it-is-impossible-to-sharpen-a-pencil-with-a/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

> [It used to be the program's purpose to instruct our computers; it became the computer's purpose to execute our programs.](https://sms4smile.com/quotes/edsger-dijkstra/it-used-to-be-the-program-s-purpose-to-instruct-our-computers-it/)

[Edsger Dijkstra](https://sms4smile.com/quotes/author/edsger-dijkstra/)

[Explore all 103 Edsger Dijkstra quotes ](https://sms4smile.com/quotes/author/edsger-dijkstra/)

## More Book quotes

> [I think a new world will arise out of the religious mists when we approach our Bible with the idea that it is not…](https://sms4smile.com/quotes/aiden-wilson-tozer/i-think-a-new-world-will-arise-out-of-the-religious-mists-when-we/)

[Aiden Wilson Tozer](https://sms4smile.com/quotes/author/aiden-wilson-tozer/)

> [If I had a dollar for every time I couldn’t sleep, I could buy a billion locks and finally read a book in peace.](https://sms4smile.com/quotes/aesop-rock/if-i-had-a-dollar-for-every-time-i-couldn-t-sleep-i-could-buy-a/)

[Aesop Rock](https://sms4smile.com/quotes/author/aesop-rock/)

> [Young men, especially in America, write to me and ask me to recommend “a course of reading.” Distrust a course of reading! People who…](https://sms4smile.com/quotes/andrew-lang/young-men-especially-in-america-write-to-me-and-ask-me-to-recommend-a/)

[Andrew Lang](https://sms4smile.com/quotes/author/andrew-lang/)

> [The Rosary is the book of the blind.](https://sms4smile.com/quotes/fulton-j-sheen/the-rosary-is-the-book-of-the-blind/)

[Fulton J. Sheen](https://sms4smile.com/quotes/author/fulton-j-sheen/)

> [I have many who keep me going, I am very fortunate in this sense. There is nothing like a child who knows more about…](https://sms4smile.com/quotes/floyd-cooper/i-have-many-who-keep-me-going-i-am-very-fortunate-in-this-sense-there/)

[Floyd Cooper](https://sms4smile.com/quotes/author/floyd-cooper/)

> [I think books in which people are really happy and things are going well are probably the most challenging novels there are to write,…](https://sms4smile.com/quotes/anna-quindlen/i-think-books-in-which-people-are-really-happy-and-things-are-going/)

[Anna Quindlen](https://sms4smile.com/quotes/author/anna-quindlen/)

> [It's like the query letter problem that I just mentioned, magnified a hundredfold. You might be good at telling a story, but that doesn't…](https://sms4smile.com/quotes/patrick-rothfuss/it-s-like-the-query-letter-problem-that-i-just-mentioned-magnified-a/)

[Patrick Rothfuss](https://sms4smile.com/quotes/author/patrick-rothfuss/)

> [I don't think I have made as much of my life as I should have. I should have written more books.](https://sms4smile.com/quotes/arthur-m-schlesinger-jr/i-don-t-think-i-have-made-as-much-of-my-life-as-i-should-have-i/)

[Arthur M. Schlesinger, Jr](https://sms4smile.com/quotes/author/arthur-m-schlesinger-jr/)

> [Some books are not read in the right way because they have skipped a stage of opinion, assume a crystallization of information in society…](https://sms4smile.com/quotes/doris-lessing/some-books-are-not-read-in-the-right-way-because-they-have-skipped-a/)

[Doris Lessing](https://sms4smile.com/quotes/author/doris-lessing/)

> [“People talk about books that write themselves, and it's a lie. Books don't write themselves. It takes thought and research and a backache and…](https://sms4smile.com/quotes/neil-gaiman/people-talk-about-books-that-write-themselves-and-it-s-a-lie-books/)

[Neil Gaiman](https://sms4smile.com/quotes/author/neil-gaiman/)

> [There are great books in this world and great worlds in books.](https://sms4smile.com/quotes/anne-bronte/there-are-great-books-in-this-world-and-great-worlds-in-books/)

[Anne Bronte](https://sms4smile.com/quotes/author/anne-bronte/)

> [The purpose of this book is to supply, in the form suitable for laymen, guidance in the adoption and execution of an investment policy.](https://sms4smile.com/quotes/benjamin-graham/the-purpose-of-this-book-is-to-supply-in-the-form-suitable-for-laymen/)

[Benjamin Graham](https://sms4smile.com/quotes/author/benjamin-graham/)

> [But I think that of all the literature that I studied, the book that did more than any other to fire my enthusiasm was…](https://sms4smile.com/quotes/kwame-nkrumah/but-i-think-that-of-all-the-literature-that-i-studied-the-book-that/)

[Kwame Nkrumah](https://sms4smile.com/quotes/author/kwame-nkrumah/)

> [It's amazing to see things that are suggested in the book fully developed and so brilliantly realized through the artistry of the designers.](https://sms4smile.com/quotes/suzanne-collins/it-s-amazing-to-see-things-that-are-suggested-in-the-book-fully/)

[Suzanne Collins](https://sms4smile.com/quotes/author/suzanne-collins/)

> [“But I’ve developed a great reputation for wisdom by ordering more books than I ever had time to read, and reading more books, by…](https://sms4smile.com/quotes/marilynne-robinson/but-i-ve-developed-a-great-reputation-for-wisdom-by-ordering-more/)

[Marilynne Robinson](https://sms4smile.com/quotes/author/marilynne-robinson/)

[Browse all 29,378 Book quotes ](https://sms4smile.com/quotes/about/book/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about programming as if it were a production process and measure \"programmer productivity\" in terms of \"number of lines of code produced\". In so doing they book that number on the wrong side of the ledger: we should always refer to \"the number of lines of code spent\".",
            "creator": {
                "@type": "Person",
                "name": "Edsger Dijkstra"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/edsger-dijkstra/in-this-respect-a-program-is-like-a-poem-you-cannot-write-a-poem/",
            "about": {
                "@type": "Thing",
                "name": "Book"
            },
            "@id": "https://sms4smile.com/quotes/edsger-dijkstra/in-this-respect-a-program-is-like-a-poem-you-cannot-write-a-poem/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png",
                "contentUrl": "https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png",
                "url": "https://sms4smile.com/quotes/i/713/edsger-dijkstra-5102_book_in-this-respect-a-program-is-like-a-poem_543714.png",
                "width": 1080,
                "height": 1080,
                "caption": "“In this respect a program is like a poem: you cannot write a poem without writing it. Yet people talk about…” — Edsger Dijkstra",
                "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": "Edsger Dijkstra",
                    "item": "https://sms4smile.com/quotes/author/edsger-dijkstra/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "In this respect a program is...",
                    "item": "https://sms4smile.com/quotes/edsger-dijkstra/in-this-respect-a-program-is-like-a-poem-you-cannot-write-a-poem/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/edsger-dijkstra/in-this-respect-a-program-is-like-a-poem-you-cannot-write-a-poem/#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
            }
        }
    ]
}
```
