Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.
Alan PerlisRead
It is better to have 100 functions operate on one data structure than to have 10 functions operate on 10 data structures.
Interpretation
Simplicity and efficiency in programming can lead to more manageable and maintainable code.
This quote by Alan Perlis emphasizes the preference for having a single, well-defined data structure that multiple functions can interact with, as opposed to having several distinct data structures each requiring their own functions. This approach not only encourages better organization and reusability of code but also enhances clarity and reduces complexity, making programming tasks easier to manage.
In practice
In a coding workshop, a mentor may reference this quote to explain the importance of code organization.
Every program has (at least) two purposes: the one for which it was written and another for which it wasn't.
Because of its vitality, the computing field is always in desperate need of new cliches: Banality soothes our nerves.
In computing, turning the obvious into the useful is a living definition of the word "frustration".
A good programming language is a conceptual universe for thinking about programming.
Every reader should ask himself periodically βToward what end, toward what end?ββbut do not ask it too often lest you pass up the fun of programming for the constipation of bittersweet philosophy.
C programmers never die. They are just cast into void.
During the past three years spectacular progress has been made in increasing wheat, rice, and maize production in several of the most populous developing countries of southern Asia, where widespread famine appeared inevitable only five years ago
What we want is scientists who don't become part of the policy discussion: All they do is produce science. If someone becomes an advocate, then I won't pay as much attention to their science.
Relativity is a purely scientific matter and has nothing to do with religion.
I was an embarrassment to the department when they did research assessment exercises. A message would go round the department: 'Please give a list of your recent publications.' And I would send back a statement: 'None.'
Darwin's theory of evolution is a framework by which we understand the diversity of life on Earth. But there is no equation sitting there in Darwin's 'Origin of Species' that you apply and say, 'What is this species going to look like in 100 years or 1,000 years?' Biology isn't there yet with that kind of predictive precision.
Men think epilepsy divine, merely because they do not understand it. We will one day understand what causes it, and then cease to call it divine. And so it is with everything in the universe.
Subscribe for the occasional hand-picked quote. No noise.