编程之道全本 PDF 下载
Something mysterious is formed, born in the silent void. Waiting alone
and unmoving, it is at once still and yet in constant motion. It is the
source of all programs. I do not know its name, so I will call it the Tao
If the Tao is great, then the operating system is great. If the operating
system is great, then the compiler is great. If the compiler is greater,
then the applications is great. The user is pleased and there is harmony
in the world.
The Tao of Programming flows far away and returns on the wind of morning.
The Tao gave birth to machine language. Machine language gave birth to
The assembler gave birth to the compiler. Now there are ten thousand
Each language has its purpose, however humble. Each language expresses
the Yin and Yang of software. Each language has its place within the Tao.
- 5 -
But do not program in COBOL if you can avoid it.
但是尽量不要用 COBOL 语言。
In the beginning was the Tao. The Tao gave birth to Space and Time.
Therefore, Space and Time are the Yin and Yang of programming.
Programmers that do not comprehend the Tao are always running out of time
and space for their programs. Programmers that comprehend the Tao always
have enough time and space to accomplish their goals.
How could it be otherwise?
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.
Book Two - The Ancient Masters
Thus spake the master programmer:
- 6 -
"After three days without programming, life becomes meaningless."
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.