In OO, it's the data that is the "important" thing: you define the class
which contains member data, and only incidentally contains code for
manipulating the object. In FP, it's the code that's important: you
define a function which contains code for working with the data, and
only incidentally define what the data is.
-- almkgor, on reddit
Pay attention to opportunity cost at all times. Doing one thing means
not doing other things. This is a form of risk that is very easy to
ignore, to your detriment.
-- Marc Andreessen (http://blog.pmarca.com/)
A designer knows he has arrived at perfection not when there is no
longuer anything to add, but when there is no longuer anything to take
away.
-- Antoine de St Exupery.
You have to write for your audience. I would never write (1..5).map
&'*2' in Java when I could write
ListFactoryFactory.getListFactoryFromResource(
new ResourceName('com.javax.magnitudes.integers').
setLowerBound(1).setUpperBound(5).setStep(1).applyFunctor(
new Functor () { public void eval (x) { return x * 2; } }))
I'm simplifying, of course, I've left out the security and logging
wrappers.
-- Reginald Braithwait
The lesson of the story might appear to be that self-interested and
ambitious people in power are often the cause of wastefulness in
developing countries. But self-interested and ambitious people are in
positions of power, great and small, all over the world. In many places,
they are restrained by the law, the press, and democratic opposition.
Cameroon's tragedy is that there is nothing to hold self-interest in
check.
-- Tim Harford
Vigorous writing is concise. A sentence should contain no unnecessary
words, a paragraph no unnecessary sentences, for the same reason that a
drawing should have no unnecessary lines and a machine no unnecessary
parts. This requires not that the writer make all sentences short or
avoid all detail and treat subjects only in outline, but that every word
tell.
-- William Strunk, Jr. (The Elements of Style)
A designer knows he has arrived at perfection not when there is no
longuer anything to add, but when there is no longuer anything to take
away.
-- Antoine de St Exupery.
The venerable master Qc Na was walking with his student, Anton. Hoping to
prompt the master into a discussion, Anton said "Master, I have heard that
objects are a very good thing - is this true?" Qc Na looked pityingly at
his student and replied, "Foolish pupil - objects are merely a poor man's
closures."
Chastised, Anton took his leave from his master and returned to his cell,
intent on studying closures. He carefully read the entire "Lambda: The
Ultimate..." series of papers and its cousins, and implemented a small
Scheme interpreter with a closure-based object system. He learned much, and
looked forward to informing his master of his progress.
On his next walk with Qc Na, Anton attempted to impress his master by
saying "Master, I have diligently studied the matter, and now understand
that objects are truly a poor man's closures." Qc Na responded by hitting
Anton with his stick, saying "When will you learn? Closures are a poor man's
object." At that moment, Anton became enlightened.
-- Anton van Straaten (Na = Norman Adams, Qa = Christian Queinnec)
The reason to do animation is caricature. Good caricature picks out the
essense of the statement and removes everything else. It's not simply
about reproducing reality; It's about bumping it up.
-- Brad Bird, writer and director, The Incredibles
Everything should be made as simple as possible, but no simpler.
-- Albert Einstein
The important thing is not to stop questioning.
-- Albert Einstein
I find that the harder I work, the more luck I seem to have.
-- Thomas Jefferson
When all you have is a hammer, everything looks like a nail.
-- unknown
Beware of bugs in the above code; I have only proved it correct, not
tried it.
-- Donald Knuth
Photography is painting with light.
-- Eric Hamilton
Any code of your own that you haven’t looked at for six or more months
might as well have been written by someone else.
-- Eagleson’s Law
The problem is that Microsoft just has no taste. And I don't mean that
in a small way, I mean that in a big way.
-- Steve Jobs
All creativity is an extended form of a joke.
-- Alan Kay
Work as intensely as you play and play as intensely as you work.
-- Eric S. Raymond, How To Be A Hacker
In OO, it's the data that is the "important" thing: you define the class
which contains member data, and only incidentally contains code for
manipulating the object. In FP, it's the code that's important: you
define a function which contains code for working with the data, and
only incidentally define what the data is.
-- almkgor, on reddit
Pay attention to opportunity cost at all times. Doing one thing means
not doing other things. This is a form of risk that is very easy to
ignore, to your detriment.
-- Marc Andreessen (http://blog.pmarca.com/)
A designer knows he has arrived at perfection not when there is no
longuer anything to add, but when there is no longuer anything to take
away.
-- Antoine de St Exupery.
The greatest of all weaknesses is the fear of appearing weak.
-- J. B. Bossuet, Politics from Holy Writ, 1709
You have to write for your audience. I would never write (1..5).map
&'*2' in Java when I could write
ListFactoryFactory.getListFactoryFromResource(
new ResourceName('com.javax.magnitudes.integers').
setLowerBound(1).setUpperBound(5).setStep(1).applyFunctor(
new Functor () { public void eval (x) { return x * 2; } }))
I'm simplifying, of course, I've left out the security and logging
wrappers.
-- Reginald Braithwait
The lesson of the story might appear to be that self-interested and
ambitious people in power are often the cause of wastefulness in
developing countries. But self-interested and ambitious people are in
positions of power, great and small, all over the world. In many places,
they are restrained by the law, the press, and democratic opposition.
Cameroon's tragedy is that there is nothing to hold self-interest in
check.
-- Tim Harford
The most damaging phrase in the language is, It's always been done that
way.
-- Rear Admiral Grace Hopper
Vigorous writing is concise. A sentence should contain no unnecessary
words, a paragraph no unnecessary sentences, for the same reason that a
drawing should have no unnecessary lines and a machine no unnecessary
parts. This requires not that the writer make all sentences short or
avoid all detail and treat subjects only in outline, but that every word
tell.
-- William Strunk, Jr. (The Elements of Style)
I guess, when you're drunk, every woman looks beautiful and every
language looks (like) a Lisp :)
-- Lament, #scheme@freenode.net
A designer knows he has arrived at perfection not when there is no
longuer anything to add, but when there is no longuer anything to take
away.
-- Antoine de St Exupery.
The venerable master Qc Na was walking with his student, Anton. Hoping to
prompt the master into a discussion, Anton said "Master, I have heard that
objects are a very good thing - is this true?" Qc Na looked pityingly at
his student and replied, "Foolish pupil - objects are merely a poor man's
closures."
Chastised, Anton took his leave from his master and returned to his cell,
intent on studying closures. He carefully read the entire "Lambda: The
Ultimate..." series of papers and its cousins, and implemented a small
Scheme interpreter with a closure-based object system. He learned much, and
looked forward to informing his master of his progress.
On his next walk with Qc Na, Anton attempted to impress his master by
saying "Master, I have diligently studied the matter, and now understand
that objects are truly a poor man's closures." Qc Na responded by hitting
Anton with his stick, saying "When will you learn? Closures are a poor man's
object." At that moment, Anton became enlightened.
-- Anton van Straaten (Na = Norman Adams, Qa = Christian Queinnec)
The reason to do animation is caricature. Good caricature picks out the
essense of the statement and removes everything else. It's not simply
about reproducing reality; It's about bumping it up.
-- Brad Bird, writer and director, The Incredibles
Processors don't get better so that they can have more free time.
Processors get better so you can have more free time.
-- LeCamarade (freeshells.ch)