geoffrey james quotes

Related Tags

codehappy computers

Recent Love

A novice asked the master: "In the east there is a great tree-structure
that men call 'Corporate Headquarters'. It is bloated out of shape with
vice-presidents and accountants. It issues a multitude of memos, each saying
'Go, Hence!' or 'Go, Hither!' and nobody knows what is meant. Every year new
names are put onto the branches, but all to no avail. How can such an
unnatural entity exist?"
The master replies: "You perceive this immense structure and are
disturbed that it has no rational purpose. Can you not take amusement from
its endless gyrations? Do you not enjoy the untroubled ease of programming
beneath its sheltering branches? Why are you bothered by its uselessness?"
-- Geoffrey James, "The Tao of Programming"

A novice asked the master: "I perceive that one computer company is
much larger than all others. It towers above its competition like a giant
among dwarfs. Any one of its divisions could comprise an entire business.
Why is this so?"
The master replied, "Why do you ask such foolish questions? That
company is large because it is so large. If it only made hardware, nobody
would buy it. If it only maintained systems, people would treat it like a
servant. But because it combines all of these things, people think it one
of the gods! By not seeking to strive, it conquers without effort."
-- Geoffrey James, "The Tao of Programming"

A novice asked the Master: "Here is a programmer that never designs,
documents, or tests his programs. Yet all who know him consider him one of
the best programmers in the world. Why is this?"
The Master replies: "That programmer has mastered the Tao. He has
gone beyond the need for design; he does not become angry when the system
crashes, but accepts the universe without concern. He has gone beyond the
need for documentation; he no longer cares if anyone else sees his code. He
has gone beyond the need for testing; each of his programs are perfect within
themselves, serene and elegant, their purpose self-evident. Truly, he has
entered the mystery of the Tao."
-- Geoffrey James, "The Tao of Programming"

A manager asked a programmer how long it would take him to finish the
program on which he was working. "I will be finished tomorrow," the programmer
promptly replied.
"I think you are being unrealistic," said the manager. "Truthfully,
how long will it take?"
The programmer thought for a moment. "I have some features that I wish
to add. This will take at least two weeks," he finally said.
"Even that is too much to expect," insisted the manager, "I will be
satisfied if you simply tell me when the program is complete."
The programmer agreed to this.
Several years later, the manager retired. On the way to his
retirement lunch, he discovered the programmer asleep at his terminal.
He had been programming all night.
-- Geoffrey James, "The Tao of Programming"

A master programmer passed a novice programmer one day. The master
noted the novice's preoccupation with a hand-held computer game. "Excuse me",
he said, "may I examine it?"
The novice bolted to attention and handed the device to the master.
"I see that the device claims to have three levels of play: Easy, Medium,
and Hard", said the master. "Yet every such device has another level of play,
where the device seeks not to conquer the human, nor to be conquered by the
human."
"Pray, great master," implored the novice, "how does one find this
mysterious setting?"
The master dropped the device to the ground and crushed it under foot.
And suddenly the novice was enlightened.
-- Geoffrey James, "The Tao of Programming"

A manager went to his programmers and told them: "As regards to your
work hours: you are going to have to come in at nine in the morning and leave
at five in the afternoon." At this, all of them became angry and several
resigned on the spot.
So the manager said: "All right, in that case you may set your own
working hours, as long as you finish your projects on schedule." The
programmers, now satisfied, began to come in a noon and work to the wee
hours of the morning.
-- Geoffrey James, "The Tao of Programming"

Does a good farmer neglect a crop he has planted?
Does a good teacher overlook even the most humble student?
Does a good father allow a single child to starve?
Does a good programmer refuse to maintain his code?
-- Geoffrey James, "The Tao of Programming"

There was once a programmer who worked upon microprocessors. "Look at
how well off I am here," he said to a mainframe programmer who came to visit,
"I have my own operating system and file storage device. I do not have to
share my resources with anyone. The software is self-consistent and
easy-to-use. Why do you not quit your present job and join me here?"
The mainframe programmer then began to describe his system to his
friend, saying: "The mainframe sits like an ancient sage meditating in the
midst of the data center. Its disk drives lie end-to-end like a great ocean
of machinery. The software is a multi-faceted as a diamond and as convoluted
as a primeval jungle. The programs, each unique, move through the system
like a swift-flowing river. That is why I am happy where I am."
The microcomputer programmer, upon hearing this, fell silent. But the
two programmers remained friends until the end of their days.
-- Geoffrey James, "The Tao of Programming"

A program should be light and agile, its subroutines connected like a
strings of pearls. The spirit and intent of the program should be retained
throughout. There should be neither too little nor too much, neither needless
loops nor useless variables, neither lack of structure nor overwhelming
rigidity.
A program should follow the 'Law of Least Astonishment'. What is this
law? It is simply that the program should always respond to the user in the
way that astonishes him least.
A program, no matter how complex, should act as a single unit. The
program should be directed by the logic within rather than by outward
appearances.
If the program fails in these requirements, it will be in a state of
disorder and confusion. The only way to correct this is to rewrite the
program.
-- Geoffrey James, "The Tao of Programming"

When managers hold endless meetings, the programmers write games.
When accountants talk of quarterly profits, the development budget is about
to be cut. When senior scientists talk blue sky, the clouds are about to
roll in.
Truly, this is not the Tao of Programming.
When managers make commitments, game programs are ignored. When
accountants make long-range plans, harmony and order are about to be restored.
When senior scientists address the problems at hand, the problems will soon
be solved.
Truly, this is the Tao of Programming.
-- Geoffrey James, "The Tao of Programming"

A manager was about to be fired, but a programmer who worked for him
invented a new program that became popular and sold well. As a result, the
manager retained his job.
The manager tried to give the programmer a bonus, but the programmer
refused it, saying, "I wrote the program because I though it was an interesting
concept, and thus I expect no reward."
The manager, upon hearing this, remarked, "This programmer, though he
holds a position of small esteem, understands well the proper duty of an
employee. Lets promote him to the exalted position of management consultant!"
But when told this, the programmer once more refused, saying, "I exist
so that I can program. If I were promoted, I would do nothing but waste
everyone's time. Can I go now? I have a program that I'm working on."
-- Geoffrey James, "The Tao of Programming"

Thus spake the master programmer:
"Without the wind, the grass does not move. Without software,
hardware is useless."
-- Geoffrey James, "The Tao of Programming"

A manager asked a programmer how long it would take him to finish the
program on which he was working. "I will be finished tomorrow," the programmer
promptly replied.
"I think you are being unrealistic," said the manager. "Truthfully,
how long will it take?"
The programmer thought for a moment. "I have some features that I wish
to add. This will take at least two weeks," he finally said.
"Even that is too much to expect," insisted the manager, "I will be
satisfied if you simply tell me when the program is complete."
The programmer agreed to this.
Several years later, the manager retired. On the way to his
retirement lunch, he discovered the programmer asleep at his terminal.
He had been programming all night.
-- Geoffrey James, "The Tao of Programming"

Why are programmers non-productive?
Because their time is wasted in meetings.

Why are programmers rebellious?
Because the management interferes too much.

Why are the programmers resigning one by one?
Because they are burnt out.

Having worked for poor management, they no longer value their jobs.
-- Geoffrey James, "The Tao of Programming"

A programmer from a very large computer company went to a software
conference and then returned to report to his manager, saying: "What sort
of programmers work for other companies? They behaved badly and were
unconcerned with appearances. Their hair was long and unkempt and their
clothes were wrinkled and old. They crashed out hospitality suites and they
made rude noises during my presentation."
The manager said: "I should have never sent you to the conference.
Those programmers live beyond the physical world. They consider life absurd,
an accidental coincidence. They come and go without knowing limitations.
Without a care, they live only for their programs. Why should they bother
with social conventions?"
"They are alive within the Tao."
-- Geoffrey James, "The Tao of Programming"

Thus spake the master programmer:
"Let the programmers be many and the managers few -- then all will
be productive."
-- Geoffrey James, "The Tao of Programming"

The programmers of old were mysterious and profound. We cannot fathom
their thoughts, so all we do is describe their appearance.
Aware, like a fox crossing the water. Alert, like a general on the
battlefield. Kind, like a hostess greeting her guests. Simple, like uncarved
blocks of wood. Opaque, like black pools in darkened caves.
Who can tell the secrets of their hearts and minds?
The answer exists only in the Tao.
-- Geoffrey James, "The Tao of Programming"

Price Wang's programmer was coding software. His fingers danced upon
the keyboard. The program compiled without an error message, and the program
ran like a gentle wind.
Excellent!" the Price exclaimed, "Your technique is faultless!"
"Technique?" said the programmer, turning from his terminal, "What I
follow is the Tao -- beyond all technique. When I first began to program I
would see before me the whole program in one mass. After three years I no
longer saw this mass. Instead, I used subroutines. But now I see nothing.
My whole being exists in a formless void. My senses are idle. My spirit,
free to work without a plan, follows its own instinct. In short, my program
writes itself. True, sometimes there are difficult problems. I see them
coming, I slow down, I watch silently. Then I change a single line of code
and the difficulties vanish like puffs of idle smoke. I then compile the
program. I sit still and let the joy of the work fill my being. I close my
eyes for a moment and then log off."
Price Wang said, "Would that all of my programmers were as wise!"
-- Geoffrey James, "The Tao of Programming"

Grand Master Turing once dreamed that he was a machine. When he awoke
he exclaimed:
"I don't know whether I am Turing dreaming that I am a machine,
or a machine dreaming that I am Turing!"
-- Geoffrey James, "The Tao of Programming"

The wise programmer is told about the Tao and follows it. The average
programmer is told about the Tao and searches for it. The foolish programmer
is told about the Tao and laughs at it. If it were not for laughter, there
would be no Tao.
The highest sounds are the hardest to hear. Going forward is a way to
retreat. Greater talent shows itself late in life. Even a perfect program
still has bugs.
-- Geoffrey James, "The Tao of Programming"