编程之道

技术当然很重要,但有些东西更重要。我感觉下来,大致的顺序是:

  1. 技术(可能性)
  2. 商业(驱动力)
  3. 社区(活跃程度,对人才的吸引力)
  4. 生态(持续发展的可能性)
  5. 文化(持续发展的趋势)
  6. 需求(持续发展的内因)
  7. 道(是内因,也是信仰)

下面是原文里我觉得不错的一些片段。

Book One: The Silent Void

When you have learned to snatch the error code from the trap frame, it will be time for you to leave.

Tao

Book Two: The Ancient Masters

After three days without programming, life becomes meaningless.

Turing:

I don’t know whether I am Turing dreaming that I am a machine, or a machine dreaming that I am Turing!

Book Three Design

When the program is being tested, it is too late to make design changes.

A master programmer to a novice programmer:

What is appropriate for the master is not appropriate for the novice. You must understand Tao before transcending structure.

Book Four: Coding

A well-written program is its own heaven; a poorly-written program its own hell.

Law of Least Astonishment

Book Five: Maintenance

Though a program be but three lines long, someday it will have to be maintained.

Book Six: Management

Let the programmers be many and the managers few — then all will be productive.

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 at noon and work until the wee hours of the morning.

Book Seven: Corporate Wisdom

You can demonstrate a program for an executive, but you can’t make him computer literate.

The novice programmer stares in wonder at the bird, for he understands it not. The average programmer dreads the coming of the bird, for he fears its message. The master programmer continues to work at his terminal, for he does not know that the bird has come and gone.

Book Eight: Hardware and Software

Without the wind, the grass does not move. Without software, hardware is useless.

By not seeking to strive, it conquers without effort.

Book Nine: Epilogue

Time for you to leave.

The Tao of Programming is a must
for computerist who likes to laugh.