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.
My emotional investment is in finding truth. If string theory is wrong, I'd like to have known that yesterday. But if we can show it today or tomorrow, fantastic.
... chemistry is a trade for people without enough imagination to be physicists.
Burning fossil fuels emits carbon dioxide. And carbon dioxide is a greenhouse gas that traps heat in the atmosphere. There is no debate about that. The link is as certain as the link between smoking and cancer.
Trying to capture the physicists' precise mathematical description of the quantum world with our crude words and mental images is like playing Chopin with a boxing glove on one hand and a catcher's mitt on the other.
It is this potential for plasticity of the relatively stereotyped units of the nervous system that endows each of us with our individuality.
I fell in love with the elegance and precision of genetic analysis and experimentation to answer profound biological questions.
Subscribe for the occasional hand-picked quote. No noise.