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.
I shall endeavour still further to prosecute this inquiry, an inquiry I trust not merely speculative, but of sufficient moment to inspire the pleasing hope of its becoming essentially beneficial to mankind.
Any important disease whose causality is murky, and for which treatment is ineffectual, tends to be awash in significance.
Inside of a living cell there are thousands of proteins that enable it to make more of itself and make your malaria drug, for instance. We don't understand those. We don't understand how they work together.
It is ... a sign of the times-though our brothers of physics and chemistry may smile to hear me say so-that biology is now a science in which theories can be devised: theories which lead to predictions and predictions which sometimes turn out to be correct. These facts confirm me in a belief I hold most passionately-that biology is the heir of all the sciences.
[Decoding the human genome sequence] is the most significant undertaking that we have mounted so far in an organized way in all of science. I believe that reading our blueprints, cataloguing our own instruction book, will be judged by history as more significant than even splitting the atom or going to the moon.
A black hole really is an object with very rich structure, just like Earth has a rich structure of mountains, valleys, oceans, and so forth. Its warped space whirls around the central singularity like air in a tornado.
Subscribe for the occasional hand-picked quote. No noise.