---
title: "I will, in fact, claim that the difference between a bad programmer a… — Linus Torvalds Quote #49 | QuotesBy.net"
description: "I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more impor… — a quote by Linus Torvalds."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important. Bad programmers worry about the code. Good programmers worry about data structures and their relationships.

[Linus Torvalds](https://quotesby.net/Linus-Torvalds)\#49

[Design](https://quotesby.net/Linus-Torvalds/design/)[Engineering](https://quotesby.net/Linus-Torvalds/engineering/)[Programming](https://quotesby.net/Linus-Torvalds/programming/)[Code](https://quotesby.net/Linus-Torvalds/code/)[Code quality](https://quotesby.net/Linus-Torvalds/code-quality/)[Data](https://quotesby.net/topics/data/)[Skills](https://quotesby.net/topics/skills/)[Structure](https://quotesby.net/topics/structure/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CI%20will%2C%20in%20fact%2C%20claim%20that%20the%20difference%20between%20a%20bad%20programmer%20and%20a%20good%20one%20is%20whether%20he%20considers%20his%20code%20or%20his%20data%20structures%20more%20important.%20Bad%20programmers%20worry%20about%20the%20code.%20Good%20programmers%20worry%20about%20data%20structures%20and%20their%20relationships.%E2%80%9D%20%E2%80%94%20Linus%20Torvalds%20https%3A%2F%2Fquotesby.net%2FLinus-Torvalds%2F49%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CI%20will%2C%20in%20fact%2C%20claim%20that%20the%20difference%20between%20a%20bad%20programmer%20and%20a%20good%20one%20is%20whether%20he%20considers%20his%20code%20or%20his%20data%20structures%20more%20important.%20Bad%20programmers%20worry%20about%20the%20code.%20Good%20programmers%20worry%20about%20data%20structures%20and%20their%20relationships.%E2%80%9D%20%E2%80%94%20Linus%20Torvalds&url=https%3A%2F%2Fquotesby.net%2FLinus-Torvalds%2F49%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLinus-Torvalds%2F49%2F)

## About this quote

What does it mean?Good programmers prioritize data structures over code logic.In plain termsGood programmers care about data structures; bad ones care about code.What can you take from it?Design your data structures first.

### Where it applies

- code reviews
- software architecture discussions
- interviews

### Putting it to work

- focus on data design
- review relationships first

### Questions to consider

- What comes first: data or logic?
- How do you evaluate a programmer's skill?

### Another view

Code logic is still essential for correct execution.

## More from Linus Torvalds

1. > I like colorized diffs, but let's face it, those particular color choices will make most people decide to pick out their eyes with a fondue fork. And that's no…

[Permalink to quote \#48](https://quotesby.net/Linus-Torvalds/48/ "Permalink to quote 48")
2. > EFI is this other Intel brain-damage (the first one being ACPI).

[Permalink to quote \#50](https://quotesby.net/Linus-Torvalds/50/ "Permalink to quote 50")
3. > Most days I wake up thinking I'm the luckiest bastard alive.

[Permalink to quote \#47](https://quotesby.net/Linus-Torvalds/47/ "Permalink to quote 47")

## Related quotes

1. > If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.

[Linus Torvalds](https://quotesby.net/Linus-Torvalds)[Linus Torvalds quote \#8](https://quotesby.net/Linus-Torvalds/8/ "Permalink to quote 8")
2. > The psychological profiling \[of a programmer\] is mostly the ability to shift levels of abstraction, from low level to high level. To see something in the small…

[Donald Knuth](https://quotesby.net/Donald-Knuth)[Donald Knuth quote \#4](https://quotesby.net/Donald-Knuth/4/ "Permalink to quote 4")
3. > Though I'll admit readability suffers slightly...

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#25](https://quotesby.net/Larry-Wall/25/ "Permalink to quote 25")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important. Bad programmers worry about the code. Good programmers worry about data structures and their relationships.",
    "url": "https://quotesby.net/Linus-Torvalds/49/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Linus Torvalds"
    }
}
{
    "@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": "Linus Torvalds",
            "item": "https://quotesby.net/Linus-Torvalds"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #49",
            "item": "https://quotesby.net/Linus-Torvalds/49/"
        }
    ]
}
```
