“Bad programmers worry about the code. Good programmers worry about data structures and their relationships.”

https://lwn.net/Articles/193245/

Last update June 3, 2021. History

Help us to complete the source, original and additional information

Do you have more details about the quote "Bad programmers worry about the code. Good programmers worry about data structures and their relationships." by Linus Torvalds?
Linus Torvalds photo
Linus Torvalds 150
Finnish-American software engineer and hacker 1969

Related quotes

Linus Torvalds photo

“I like the observation that Forth is an amplifier: a good programmer can write a great program; a bad programmer a terrible one. I feel no need to cater to bad programmers.”

Quoted in Naomi Hamilton, "The A-Z of Programming Languages: Forth," http://www.computerworld.com.au/index.php/id;766897508 Computerworld (2008-06-27)

Donald Ervin Knuth photo

“The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming.”

Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.
Variant in Knuth, "Structured Programming with Goto Statements" http://pplab.snu.ac.kr/courses/adv_pl05/papers/p261-knuth.pdf. Computing Surveys 6:4 (December 1974), pp. 261–301, §1.
Knuth refers to this as "Hoare's Dictum" 15 years later in "The Errors of Tex", Software—Practice & Experience 19:7 (July 1989), pp. 607–685. However, the attribution to C. A. R. Hoare is doubtful. http://shreevatsa.wordpress.com/2008/05/16/premature-optimization-is-the-root-of-all-evil/
All three of these papers are reprinted in Knuth, Literate Programming, 1992, Center for the Study of Language and Information ISBN 0937073806
Source: Computer Programming as an Art (1974), p. 671

Ward Cunningham photo

“Let's not worry about what somebody reading the code tomorrow is going to think. Let's not worry about whether it's efficient. Let's not even worry about whether it will work. Let's just write the simplest thing that could possibly work.”

Ward Cunningham (1949) American computer programmer who developed the first wiki

A Conversation with Ward Cunningham (2003), The Simplest Thing that Could Possibly Work

Kent Beck photo

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”

Kent Beck (1961) software engineer

Source: Refactoring: Improving the Design of Existing Code, 1999, p. 15

Martin Fowler photo

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”

Martin Fowler (1963) British programmer

Source: Refactoring: Improving the Design of Existing Code, 1999, p. 15

Fred Brooks photo

“The programmer's primary weapon in the never-ending battle against slow system is to change the intramodular structure. Our first response should be to reorganize the modules' data structures.”

Fred Brooks (1931) American computer scientist

Brooks (1975, Chapter 9) as quoted in Code Complete: A Practical Handbook of Software Construction, by Steve C. McConnell

John Perry Barlow photo

“Most libertarians are worried about government but not worried about business. I think we need to be worrying about business in exactly the same way we are worrying about government.”

John Perry Barlow (1947–2018) American poet and essayist

John Perry Barlow 2.0 (2004)
Context: It’s a perfect set of circumstances to give us the time Yeats foretold, with the best having lost all conviction and the worst full of passionate intensity. I’m an optimist. In order to be libertarian, you have to be an optimist. You have to have a benign view of human nature, to believe that human beings left to their own devices are basically good. But I’m not so sure about human institutions, and I think the real point of argument here is whether or not large corporations are human institutions or some other entity we need to be thinking about curtailing. Most libertarians are worried about government but not worried about business. I think we need to be worrying about business in exactly the same way we are worrying about government.

Larry Wall photo

“Real programmers can write assembly code in any language.”

Larry Wall (1954) American computer programmer and author, creator of Perl

[8571@jpl-devvax.JPL.NASA.GOV, 1990]
Usenet postings, 1990

Mitch Albom photo

“Do not worry about tomorrow, for tomorrow will worry about itself..”

Mitch Albom (1958) American author

Source: Have a Little Faith: a True Story

Related topics