---
title: "The best way to prepare [to be a programmer] is to write programs, an… — Bill Gates Quote #37 | QuotesBy.net"
description: "The best way to prepare [to be a programmer] is to write programs, and to study great programs that other people have written. In my case, I went to … — a quote by Bill Gates."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # The best way to prepare \[to be a programmer\] is to write programs, and to study great programs that other people have written. In my case, I went to the garbage cans at the Computer Science Center and fished out listings of their operating system.

[Bill Gates](https://quotesby.net/Bill-Gates)\#37

[Code](https://quotesby.net/Bill-Gates/code/)[Learning](https://quotesby.net/Bill-Gates/learning/)[Practice](https://quotesby.net/topics/practice/)[Programming](https://quotesby.net/topics/programming/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CThe%20best%20way%20to%20prepare%20%5Bto%20be%20a%20programmer%5D%20is%20to%20write%20programs%2C%20and%20to%20study%20great%20programs%20that%20other%20people%20have%20written.%20In%20my%20case%2C%20I%20went%20to%20the%20garbage%20cans%20at%20the%20Computer%20Science%20Center%20and%20fished%20out%20listings%20of%20their%20operating%20system.%E2%80%9D%20%E2%80%94%20Bill%20Gates%20https%3A%2F%2Fquotesby.net%2FBill-Gates%2F37%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CThe%20best%20way%20to%20prepare%20%5Bto%20be%20a%20programmer%5D%20is%20to%20write%20programs%2C%20and%20to%20study%20great%20programs%20that%20other%20people%20have%20written.%20In%20my%20case%2C%20I%20went%20to%20the%20garbage%20cans%20at%20the%20Computer%20Science%20Center%20and%20fished%20out%20listings%20of%20their%20operating%20system.%E2%80%9D%20%E2%80%94%20Bill%20Gates&url=https%3A%2F%2Fquotesby.net%2FBill-Gates%2F37%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FBill-Gates%2F37%2F)

## About this quote

What does it mean?Practical writing and studying others code are key to learning programming.In plain termsLearn to code by writing and reading other people programs code.What can you take from it?Practice coding and study existing code to improve.

### Where it applies

- self education
- training
- skill building

### Putting it to work

- read open source
- write daily
- review examples

### Questions to consider

- How do you learn new skills?
- What code do you study?

### Another view

Some concepts require formal study beyond reading code.

## More from Bill Gates

1. > Someone decided to trash the one part of Windows that was usable? The file system is no longer usable. The registry is not usable. This program listing was one…

[Permalink to quote \#36](https://quotesby.net/Bill-Gates/36/ "Permalink to quote 36")
2. > You've got to be willing to read other people's code, and then write your own, then have other people review your code. You've got to want to be in this incred…

[Permalink to quote \#38](https://quotesby.net/Bill-Gates/38/ "Permalink to quote 38")
3. > I reboot \[my Windows PC\] every night.

[Permalink to quote \#35](https://quotesby.net/Bill-Gates/35/ "Permalink to quote 35")

## Related quotes

1. > There is nothing more practical than a good theory.

[Leonid Brezhnev](https://quotesby.net/Leonid-Brezhnev)[Leonid Brezhnev quote \#1](https://quotesby.net/Leonid-Brezhnev/1/ "Permalink to quote 1")
2. > Premature optimization is the root of all evil (or at least most of it) in programming.

[Donald Knuth](https://quotesby.net/Donald-Knuth)[Donald Knuth quote \#1](https://quotesby.net/Donald-Knuth/1/ "Permalink to quote 1")
3. > A man of knowledge lives by acting, not by thinking about acting.

[Carlos Castaneda](https://quotesby.net/Carlos-Castaneda)[Carlos Castaneda quote \#2](https://quotesby.net/Carlos-Castaneda/2/ "Permalink to quote 2")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "The best way to prepare [to be a programmer] is to write programs, and to study great programs that other people have written. In my case, I went to the garbage cans at the Computer Science Center and fished out listings of their operating system.",
    "url": "https://quotesby.net/Bill-Gates/37/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Bill Gates"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Bill Gates",
            "item": "https://quotesby.net/Bill-Gates"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #37",
            "item": "https://quotesby.net/Bill-Gates/37/"
        }
    ]
}
```
