---
title: "Meaning & Key Takeaway of: Write programs to handle text streams…"
description: "\"Write programs to handle text streams, because that is a universal interface.\" — Douglas McIlroy"
image: "https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg"
---

#  Write programs to handle text streams, because that is a…

![“Write programs to handle text streams, because that is a universal interface.” quote by Douglas McIlroy](https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg)   [Download](https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg) [Open image](https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg)

> “Write programs to handle text streams, because that is a universal interface.”

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

## About This Quote

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

Text streams act as a universal medium for data exchange across programs, enabling flexibility and modularity.

**In simple terms:** Text streams let programs talk to each other easily.

Key Takeaway

Design software to use streams for interoperability.

Themes

software design modularity interoperability

Mood

technical practical

Type

advice instructional

When to use this quote

- system integration
- pipeline processing
- log handling
- real‑time monitoring

Key Concepts

Unix philosophy data abstraction

Questions to Reflect On

- How can stream design improve system robustness?
- When are direct function calls preferable?

A Different Perspective

Streams may introduce latency or buffering issues.

★ ★ ★ ★ ★   No ratings yet

[Interfaces](https://sms4smile.com/quotes/about/interfaces/) [Technology](https://sms4smile.com/quotes/about/technology/) [Writing](https://sms4smile.com/quotes/about/writing/)

## Related quotes

> [This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle…](https://sms4smile.com/quotes/douglas-mcilroy/this-is-the-unix-philosophy-write-programs-that-do-one-thing-and-do/)

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

> [I write my programs primarily for myself.](https://sms4smile.com/quotes/bill-budge/i-write-my-programs-primarily-for-myself/)

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

> [Much of my work has come from being lazy. I didn't like writing programs, and so, when I was working on the IBM 701…](https://sms4smile.com/quotes/john-backus/much-of-my-work-has-come-from-being-lazy-i-didn-t-like-writing/)

[John Backus](https://sms4smile.com/quotes/author/john-backus/)

> [“We write programs not because we understand the syntax but to solve a problem”](https://sms4smile.com/quotes/orobor-anderson-ise/we-write-programs-not-because-we-understand-the-syntax-but-to-solve-a/)

Orobor Anderson Ise

> [ The best way to prepare \[to be a programmer\] is to write programs, and to study great programs that other people have written. In… ](https://sms4smile.com/quotes/bill-gates/the-best-way-to-prepare-to-be-a-programmer-is-to-write-programs-and/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [I got my first computer in the 6th grade or so. As soon as I got it, I was interested in finding out how…](https://sms4smile.com/quotes/mark-zuckerberg/i-got-my-first-computer-in-the-6th-grade-or-so-as-soon-as-i-got-it-i/)

[Mark Zuckerberg](https://sms4smile.com/quotes/author/mark-zuckerberg/)

> [I have never seen an experienced programmer who routinely made detailed flow charts before beginning to write programs.](https://sms4smile.com/quotes/fred-brooks/i-have-never-seen-an-experienced-programmer-who-routinely-made/)

[Fred Brooks](https://sms4smile.com/quotes/author/fred-brooks/)

> [Learning to write programs stretches your mind, and helps you think better, creates a way of thinking about things that I think is helpful…](https://sms4smile.com/quotes/bill-gates/learning-to-write-programs-stretches-your-mind-and-helps-you-think/)

[Bill Gates](https://sms4smile.com/quotes/author/bill-gates/)

> [Giving the kids a programming environment of any sort, whether it's a tool like Squeak or Scratch or Logo to write programs in a…](https://sms4smile.com/quotes/nicholas-negroponte/giving-the-kids-a-programming-environment-of-any-sort-whether-it-s-a/)

[Nicholas Negroponte](https://sms4smile.com/quotes/author/nicholas-negroponte/)

> [Until I reached my late teens, there was not enough money for luxuries - a holiday, a car, or a computer. I learned how…](https://sms4smile.com/quotes/zia-haider-rahman/until-i-reached-my-late-teens-there-was-not-enough-money-for-luxuries/)

[Zia Haider Rahman](https://sms4smile.com/quotes/author/zia-haider-rahman/)

> [Between rounds of speed chess I read enough of a programming manual to teach myself to write programs on the school's DEC mainframe in…](https://sms4smile.com/quotes/eric-allin-cornell/between-rounds-of-speed-chess-i-read-enough-of-a-programming-manual/)

[Eric Allin Cornell](https://sms4smile.com/quotes/author/eric-allin-cornell/)

> [I think people who write programs do have at least a glimmer of extra insight into the nature of God... because creating a program…](https://sms4smile.com/quotes/donald-knuth/i-think-people-who-write-programs-do-have-at-least-a-glimmer-of-extra/)

[Donald Knuth](https://sms4smile.com/quotes/author/donald-knuth/)

> [I understood more what Nancy Reagan and Ronald Reagan, what they were coming from. Kind of the horrors of their childhoods that they were…](https://sms4smile.com/quotes/cynthia-nixon/i-understood-more-what-nancy-reagan-and-ronald-reagan-what-they-were/)

[Cynthia Nixon](https://sms4smile.com/quotes/author/cynthia-nixon/)

> [Even the best designers produce successful products only if their designs solve the right problems. A wonderful interface to the wrong features will fail.](https://sms4smile.com/quotes/jakob-nielsen/even-the-best-designers-produce-successful-products-only-if-their/)

[Jakob Nielsen](https://sms4smile.com/quotes/author/jakob-nielsen/)

> [Always think about how a piece of code should be used: good interfaces are the essence of good code. You can hide all kinds…](https://sms4smile.com/quotes/bjarne-stroustrup/always-think-about-how-a-piece-of-code-should-be-used-good-interfaces/)

[Bjarne Stroustrup](https://sms4smile.com/quotes/author/bjarne-stroustrup/)

## More by Douglas McIlroy

> [As a programmer, it is your job to put yourself out of business. What you do today can be automated tomorrow.](https://sms4smile.com/quotes/douglas-mcilroy/as-a-programmer-it-is-your-job-to-put-yourself-out-of-business-what/)

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

> [This is the Unix philosophy: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle…](https://sms4smile.com/quotes/douglas-mcilroy/this-is-the-unix-philosophy-write-programs-that-do-one-thing-and-do/)

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

> [The real hero of programming is the one who writes negative code,](https://sms4smile.com/quotes/douglas-mcilroy/the-real-hero-of-programming-is-the-one-who-writes-negative-code/)

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

> [Keep it simple, make it general, and make it intelligible.](https://sms4smile.com/quotes/douglas-mcilroy/keep-it-simple-make-it-general-and-make-it-intelligible/)

[Douglas McIlroy](https://sms4smile.com/quotes/author/douglas-mcilroy/)

[Explore all 5 Douglas McIlroy quotes ](https://sms4smile.com/quotes/author/douglas-mcilroy/)

## More Handle quotes

> [It was only when I started making short films in college and I was looking for girls to play the me-ish parts that I…](https://sms4smile.com/quotes/lena-dunham/it-was-only-when-i-started-making-short-films-in-college-and-i-was/)

[Lena Dunham](https://sms4smile.com/quotes/author/lena-dunham/)

> [Becoming famous is a really shocking thing, especially when you don't have aspirations to it. It got to the point where I would try…](https://sms4smile.com/quotes/alison-moyet/becoming-famous-is-a-really-shocking-thing-especially-when-you-don-t/)

[Alison Moyet](https://sms4smile.com/quotes/author/alison-moyet/)

> [Singing is the love of my life, but I was ready to give it all up because I couldn't handle people talking about how…](https://sms4smile.com/quotes/stevie-nicks/singing-is-the-love-of-my-life-but-i-was-ready-to-give-it-all-up/)

[Stevie Nicks](https://sms4smile.com/quotes/author/stevie-nicks/)

> [A lie always needs a truth for a handle to it. The worst lies are those whose blade is false, but whose handle is…](https://sms4smile.com/quotes/henry-ward-beecher/a-lie-always-needs-a-truth-for-a-handle-to-it-the-worst-lies-are/)

[Henry Ward Beecher](https://sms4smile.com/quotes/author/henry-ward-beecher/)

> [As we go through this transition where a lot more people will be reading on devices, nobody is paying enough attention to make sure…](https://sms4smile.com/quotes/james-patterson/as-we-go-through-this-transition-where-a-lot-more-people-will-be/)

[James Patterson](https://sms4smile.com/quotes/author/james-patterson/)

> [There are a lot of impractical things about owning a Porsche. But they're all offset by the driving experience. It really is unique. Lamborghinis…](https://sms4smile.com/quotes/kevin-o-leary/there-are-a-lot-of-impractical-things-about-owning-a-porsche-but-they/)

[Kevin O'Leary](https://sms4smile.com/quotes/author/kevin-o-leary/)

> [A perfect movie is a different thing, but a funny movie is easy. I was really happy that I got everyone that I got.…](https://sms4smile.com/quotes/matt-walsh/a-perfect-movie-is-a-different-thing-but-a-funny-movie-is-easy-i-was/)

[Matt Walsh](https://sms4smile.com/quotes/author/matt-walsh/)

> [Can you understand why the Congress, most states and most cities refuse to pass legislation requiring the registration and licensing of any and all…](https://sms4smile.com/quotes/malcolm-forbes/can-you-understand-why-the-congress-most-states-and-most-cities/)

[Malcolm Forbes](https://sms4smile.com/quotes/author/malcolm-forbes/)

> [The amount of truth a relationship can handle is proportional to the amount of perceived love that's present.](https://sms4smile.com/quotes/henry-cloud/the-amount-of-truth-a-relationship-can-handle-is-proportional-to-the/)

[Henry Cloud](https://sms4smile.com/quotes/author/henry-cloud/)

> [Love and hate, despite their polar opposites, are both feelings that are induced by passion. I can handle that. It's the indifference I don't…](https://sms4smile.com/quotes/colleen-hoover/love-and-hate-despite-their-polar-opposites-are-both-feelings-that/)

[Colleen Hoover](https://sms4smile.com/quotes/author/colleen-hoover/)

> [Everyone thinks they've won the Magical Belief Lottery. Everyone thinks they more or less have a handle on things, that they, as opposed to…](https://sms4smile.com/quotes/r-scott-bakker/everyone-thinks-they-ve-won-the-magical-belief-lottery-everyone/)

[R. Scott Bakker](https://sms4smile.com/quotes/author/r-scott-bakker/)

> [ If \[Donald\] Trump throws 20 million off of health care, that's going to be - if he handles this badly - and it's very… ](https://sms4smile.com/quotes/van-jones/if-donald-trump-throws-20-million-off-of-health-care-that-s-going-to/)

[Van Jones](https://sms4smile.com/quotes/author/van-jones/)

> [I don't think I suffered with depression, I don't think I'm a depressed type of person - I just think I suffered a depression…](https://sms4smile.com/quotes/ronnie-o-sullivan/i-don-t-think-i-suffered-with-depression-i-don-t-think-i-m-a/)

[Ronnie O'Sullivan](https://sms4smile.com/quotes/author/ronnie-o-sullivan/)

> [I was so unsuccessful for so long. I was used to the word no. I was used to you're not good enough or not…](https://sms4smile.com/quotes/tamar-braxton/i-was-so-unsuccessful-for-so-long-i-was-used-to-the-word-no-i-was/)

[Tamar Braxton](https://sms4smile.com/quotes/author/tamar-braxton/)

> [I stay away from negative relationships. They are energy-sapping vampires. I can't handle them.](https://sms4smile.com/quotes/preity-zinta/i-stay-away-from-negative-relationships-they-are-energy-sapping/)

[Preity Zinta](https://sms4smile.com/quotes/author/preity-zinta/)

Browse all 2,008 Handle quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Write programs to handle text streams, because that is a universal interface.",
            "creator": {
                "@type": "Person",
                "name": "Douglas McIlroy"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/douglas-mcilroy/write-programs-to-handle-text-streams-because-that-is-a-universal/",
            "about": {
                "@type": "Thing",
                "name": "Handle"
            },
            "@id": "https://sms4smile.com/quotes/douglas-mcilroy/write-programs-to-handle-text-streams-because-that-is-a-universal/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg",
                "url": "https://sms4smile.com/quotes/i/9f3/douglas-mcilroy-59098_handle_write-programs-to-handle-text-streams-be_1093776.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Write programs to handle text streams, because that is a universal interface.” — Douglas McIlroy",
                "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": "Douglas McIlroy",
                    "item": "https://sms4smile.com/quotes/author/douglas-mcilroy/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Write programs to handle text streams,...",
                    "item": "https://sms4smile.com/quotes/douglas-mcilroy/write-programs-to-handle-text-streams-because-that-is-a-universal/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/douglas-mcilroy/write-programs-to-handle-text-streams-because-that-is-a-universal/#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
            }
        }
    ]
}
```
