---
title: "Meaning & Key Takeaway of: When you program, you want to think…"
description: "\"When you program, you want to think you're writing the best possible program for the... for the task you're trying to solve.\" — Bill Gates"
image: "https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg"
---

#  When you program, you want to think you're writing the…

![“When you program, you want to think you're writing the best possible program for the... for the task you're trying to solve.” quote by Bill Gates](https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg)   [Download](https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg) [Open image](https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg)

> “When you program, you want to think you're writing the best possible program for the... for the task you're trying to solve.”

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

## About This Quote

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

Effective programming requires aligning code with the specific problem it solves, not just writing elegant code.

**In simple terms:** Write code that fits the task.

Key Takeaway

Prioritize problem‑driven design.

Themes

software development problem solving efficiency

Mood

focused pragmatic

Type

technical advice

When to use this quote

- building a new app
- debugging legacy code
- optimizing performance

Key Concepts

algorithmic thinking user‑centered design

Questions to Reflect On

- How does task focus change your coding style?
- What trade‑offs arise between elegance and practicality?

A Different Perspective

May overlook broader architectural concerns.

★ ★ ★ ★ ★   No ratings yet

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

## Related quotes

> [“If you are unable to do any task, you should keep trying Until have done it”](https://sms4smile.com/quotes/binkal-kilambu/if-you-are-unable-to-do-any-task-you-should-keep-trying-until-have/)

Binkal kilambu

> [The task I'm trying to achieve, above all, is to make you see.](https://sms4smile.com/quotes/d-w-griffith/the-task-i-m-trying-to-achieve-above-all-is-to-make-you-see/)

[D. W. Griffith](https://sms4smile.com/quotes/author/d-w-griffith/)

> [When I was in high school, I was writing all the time, it was such good practice. But I wasn't writing my best songs.](https://sms4smile.com/quotes/gracie-abrams/when-i-was-in-high-school-i-was-writing-all-the-time-it-was-such-good/)

[Gracie Abrams](https://sms4smile.com/quotes/author/gracie-abrams/)

> [I've always just wanted to earn my living by writing. The best thing is to go into my study in the morning and stay…](https://sms4smile.com/quotes/robert-harris/i-ve-always-just-wanted-to-earn-my-living-by-writing-the-best-thing/)

[Robert Harris](https://sms4smile.com/quotes/author/robert-harris/)

> [For me, the goal is always to write a novel that I myself would like to read. People frequently ask me what my favorite…](https://sms4smile.com/quotes/michael-chabon/for-me-the-goal-is-always-to-write-a-novel-that-i-myself-would-like/)

[Michael Chabon](https://sms4smile.com/quotes/author/michael-chabon/)

> [Writing is the best way to get your mind clear. It's also a great way to explain your past or what you hope for…](https://sms4smile.com/quotes/noah-cyrus/writing-is-the-best-way-to-get-your-mind-clear-it-s-also-a-great-way/)

[Noah Cyrus](https://sms4smile.com/quotes/author/noah-cyrus/)

> [I always want to make sure the book I'm writing is the best book I can deliver.](https://sms4smile.com/quotes/karin-slaughter/i-always-want-to-make-sure-the-book-i-m-writing-is-the-best-book-i/)

[Karin Slaughter](https://sms4smile.com/quotes/author/karin-slaughter/)

> [As a teenager, I loved acting, painting, photography, and making films with my friend's Super 8 camera. But I always loved writing the best.…](https://sms4smile.com/quotes/denise-duhamel/as-a-teenager-i-loved-acting-painting-photography-and-making-films/)

[Denise Duhamel](https://sms4smile.com/quotes/author/denise-duhamel/)

> [There is the great creative part of it. The writing is the best part.](https://sms4smile.com/quotes/cynthia-weil/there-is-the-great-creative-part-of-it-the-writing-is-the-best-part/)

[Cynthia Weil](https://sms4smile.com/quotes/author/cynthia-weil/)

> [Writing, at its best and truest, can offer solace and salvation for both readers and writers.](https://sms4smile.com/quotes/roxane-gay/writing-at-its-best-and-truest-can-offer-solace-and-salvation-for/)

[Roxane Gay](https://sms4smile.com/quotes/author/roxane-gay/)

> [“For me writing has always been best when it's intimate, as sexy as skin on skin.”](https://sms4smile.com/quotes/stephen-king/for-me-writing-has-always-been-best-when-it-s-intimate-as-sexy-as/)

[Stephen King](https://sms4smile.com/quotes/author/stephen-king/)

> [That is one thing I am sure of amid my many uncertainties regarding the literary vocation: deep inside, a writer feels that writing is…](https://sms4smile.com/quotes/mario-vargas-llosa/that-is-one-thing-i-am-sure-of-amid-my-many-uncertainties-regarding/)

[Mario Vargas Llosa](https://sms4smile.com/quotes/author/mario-vargas-llosa/)

> [I'm focusing on writing the best story I can write. Which means I'm doing everything I can to give the artist within me as…](https://sms4smile.com/quotes/hubert-selby-jr/i-m-focusing-on-writing-the-best-story-i-can-write-which-means-i-m/)

[Hubert Selby, Jr](https://sms4smile.com/quotes/author/hubert-selby-jr/)

> [If you've got craft, you got game. If you got game, you can write your way in and out of anything. Writing is the…](https://sms4smile.com/quotes/robert-mark-kamen/if-you-ve-got-craft-you-got-game-if-you-got-game-you-can-write-your/)

Robert Mark Kamen

> [It's all still about having a good story. You have to have a good story as your anchor, as your main focus. So for…](https://sms4smile.com/quotes/rick-riordan/it-s-all-still-about-having-a-good-story-you-have-to-have-a-good/)

[Rick Riordan](https://sms4smile.com/quotes/author/rick-riordan/)

## More by Bill Gates

> [If you’re a person struggling to eat and stay healthy you might have heard about Michael Jordan or Muhammad Ali, but you’ll never have…](https://sms4smile.com/quotes/bill-gates/if-you-re-a-person-struggling-to-eat-and-stay-healthy-you-might-have/)

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

> [I really had a lot of dreams when I was a kid, and I think a great deal of that grew out of the…](https://sms4smile.com/quotes/bill-gates/i-really-had-a-lot-of-dreams-when-i-was-a-kid-and-i-think-a-great/)

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

> [Understanding science and pushing the boundaries of science is what makes me immensely satisfied.](https://sms4smile.com/quotes/bill-gates/understanding-science-and-pushing-the-boundaries-of-science-is-what/)

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

> [We're focused on providing innovations in software, driving the continuous improvement for a much better experience, and there's a lot going on here that…](https://sms4smile.com/quotes/bill-gates/we-re-focused-on-providing-innovations-in-software-driving-the/)

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

> [Paper is no longer a big part of my day. I get 90% of my news online, and when I go to a meeting…](https://sms4smile.com/quotes/bill-gates/paper-is-no-longer-a-big-part-of-my-day-i-get-90-of-my-news-online/)

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

> [Software will get to be somewhat more mature, ah, but it will never be as predictable as most areas of engineering.](https://sms4smile.com/quotes/bill-gates/software-will-get-to-be-somewhat-more-mature-ah-but-it-will-never-be/)

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

> [Students deserve great teachers. And teachers deserve the support they need to become great.](https://sms4smile.com/quotes/bill-gates/students-deserve-great-teachers-and-teachers-deserve-the-support-they/)

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

> [The machines need to get faster. They need to get cheaper.](https://sms4smile.com/quotes/bill-gates/the-machines-need-to-get-faster-they-need-to-get-cheaper/)

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

> [Like many others, I have deep misgivings about the state of education in the United States. Too many of our students fail to graduate…](https://sms4smile.com/quotes/bill-gates/like-many-others-i-have-deep-misgivings-about-the-state-of-education/)

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

> [Over time, yes, countries will need to look at specific GMO products like they look at drugs today, where they don't approve them all.…](https://sms4smile.com/quotes/bill-gates/over-time-yes-countries-will-need-to-look-at-specific-gmo-products/)

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

> [Competition is always a fantastic thing, and the computer industry is intensely competitive.](https://sms4smile.com/quotes/bill-gates/competition-is-always-a-fantastic-thing-and-the-computer-industry-is/)

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

> [I don't think there's anything unique about human intellience. All the nuerons in the brain that make up perceptions and emotions operate in a…](https://sms4smile.com/quotes/bill-gates/i-don-t-think-there-s-anything-unique-about-human-intellience-all-the/)

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

> [At every juncture, advanced tools have been the key to a new wave of applications, and each wave of applications has been key to…](https://sms4smile.com/quotes/bill-gates/at-every-juncture-advanced-tools-have-been-the-key-to-a-new-wave-of/)

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

> [Software is more important than hardware.](https://sms4smile.com/quotes/bill-gates/software-is-more-important-than-hardware/)

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

> [Talking to mothers, always brings it home because they're so anxious to do everything they can for their kids and so tragic for them.](https://sms4smile.com/quotes/bill-gates/talking-to-mothers-always-brings-it-home-because-they-re-so-anxious/)

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

[Explore all 1,165 Bill Gates quotes ](https://sms4smile.com/quotes/author/bill-gates/)

## More Program quotes

> [This welfare for wealthy companies wastes taxpayer dollars, harms the environment, and makes a mockery of the recent reductions in federal social spending programs.](https://sms4smile.com/quotes/ralph-nader/this-welfare-for-wealthy-companies-wastes-taxpayer-dollars-harms-the/)

[Ralph Nader](https://sms4smile.com/quotes/author/ralph-nader/)

> [Of everything I have done, 'The Archers' always gets the most excitement; there's a sort of uncontrollable joy from fans of the program.](https://sms4smile.com/quotes/felicity-jones/of-everything-i-have-done-the-archers-always-gets-the-most-excitement/)

[Felicity Jones](https://sms4smile.com/quotes/author/felicity-jones/)

> [Hard work and a good education will take you further than any government program.](https://sms4smile.com/quotes/aaron-schock/hard-work-and-a-good-education-will-take-you-further-than-any/)

[Aaron Schock](https://sms4smile.com/quotes/author/aaron-schock/)

> [Conservatism is not about leaving people behind. Conservatism is about empowering people to catch up, to give them the tools at their disposable that…](https://sms4smile.com/quotes/marco-rubio/conservatism-is-not-about-leaving-people-behind-conservatism-is-about/)

[Marco Rubio](https://sms4smile.com/quotes/author/marco-rubio/)

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

> [Corporations invest in sophisticated CRM, or Customer Relationship Management, programs to effectively oversee their relationship with their customers at every point during the buying…](https://sms4smile.com/quotes/marc-ostrofsky/corporations-invest-in-sophisticated-crm-or-customer-relationship/)

[Marc Ostrofsky](https://sms4smile.com/quotes/author/marc-ostrofsky/)

> [If a person does not listen to the demands of their own spiritual and heart life and insists on a certain program, you're going…](https://sms4smile.com/quotes/joseph-campbell/if-a-person-does-not-listen-to-the-demands-of-their-own-spiritual-and/)

[Joseph Campbell](https://sms4smile.com/quotes/author/joseph-campbell/)

> [I don't think that a company should own a studio and the network, and program for their own network. It hurts the creativity -…](https://sms4smile.com/quotes/scott-bakula/i-don-t-think-that-a-company-should-own-a-studio-and-the-network-and/)

[Scott Bakula](https://sms4smile.com/quotes/author/scott-bakula/)

> [No, I think most astronauts recognize that the space shuttle program is very high-risk, and are prepared for accidents.](https://sms4smile.com/quotes/sally-ride/no-i-think-most-astronauts-recognize-that-the-space-shuttle-program/)

[Sally Ride](https://sms4smile.com/quotes/author/sally-ride/)

> [And when I went to Houston, they had a conditioning coach by the name of Gene Coleman. And that was the first time I…](https://sms4smile.com/quotes/nolan-ryan/and-when-i-went-to-houston-they-had-a-conditioning-coach-by-the-name/)

[Nolan Ryan](https://sms4smile.com/quotes/author/nolan-ryan/)

> [During the periods when South Korea played a more active role, the inter-Korean relationship was more peaceful, and there was less tension between the…](https://sms4smile.com/quotes/moon-jae-in/during-the-periods-when-south-korea-played-a-more-active-role-the/)

[Moon Jae-in](https://sms4smile.com/quotes/author/moon-jae-in/)

> [The victory of Hamas is not only based on the corruption of the Palestinian Authority. Hamas has a vision and a program, and this…](https://sms4smile.com/quotes/ismail-haniyeh/the-victory-of-hamas-is-not-only-based-on-the-corruption-of-the/)

[Ismail Haniyeh](https://sms4smile.com/quotes/author/ismail-haniyeh/)

> [This is the culmination of a lot of people's vision. I think this is just another step towards making Central Michigan football among the…](https://sms4smile.com/quotes/kevin-kelly/this-is-the-culmination-of-a-lot-of-people-s-vision-i-think-this-is/)

[Kevin Kelly](https://sms4smile.com/quotes/author/kevin-kelly/)

> [A faithfully kept program of savings and conservative investments can give you more money and a better life than that of your neighbors who…](https://sms4smile.com/quotes/jane-bryant-quinn/a-faithfully-kept-program-of-savings-and-conservative-investments-can/)

[Jane Bryant Quinn](https://sms4smile.com/quotes/author/jane-bryant-quinn/)

> [Some people are great at dieting and train somewhat inconsistently - for those people, getting on a great training program and following it will…](https://sms4smile.com/quotes/john-romaniello/some-people-are-great-at-dieting-and-train-somewhat-inconsistently/)

[John Romaniello](https://sms4smile.com/quotes/author/john-romaniello/)

Browse all 3,296 Program quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "When you program, you want to think you're writing the best possible program for the... for the task you're trying to solve.",
            "creator": {
                "@type": "Person",
                "name": "Bill Gates"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/bill-gates/when-you-program-you-want-to-think-you-re-writing-the-best-possible/",
            "about": {
                "@type": "Thing",
                "name": "Program"
            },
            "@id": "https://sms4smile.com/quotes/bill-gates/when-you-program-you-want-to-think-you-re-writing-the-best-possible/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg",
                "url": "https://sms4smile.com/quotes/i/447/bill-gates-137_program_when-you-program-you-want-to-think-you-r_900747.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“When you program, you want to think you're writing the best possible program for the... for the task you're…” — Bill Gates",
                "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": "Bill Gates",
                    "item": "https://sms4smile.com/quotes/author/bill-gates/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "When you program, you want to...",
                    "item": "https://sms4smile.com/quotes/bill-gates/when-you-program-you-want-to-think-you-re-writing-the-best-possible/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/bill-gates/when-you-program-you-want-to-think-you-re-writing-the-best-possible/#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
            }
        }
    ]
}
```
