Programming Zen (Xiao Zhao translation) (2)

zhaozj2021-02-17  59

Third earth

Master: Hidden

Media: Said

Hardware: CPU

Direction:

Software: Debugger

Feel: sense of smell

Stage: Code

Animals: cattle

System: OS / VS

earth

The author of the following quotations, programming masters, the image in people's minds is very blurred. He is written by COBOL

Self-assassination of the Board of the Board, in addition to this, people know very little about him.

One

I've heard of it:

At the beginning, it seems to be more easy, and it is often the most difficult at the end. That's why programmers say -

"It takes half of the time in the previous year, and the other half is used to complete the last 100%.

"

two

I've heard of it:

The biggest mistake in the human-machine interface is the right to ignore the computer. The system that is forced to compatibility with the old concept is always subject to

To historical restrictions. Computers should not simulate reality - they should surpass reality.

three

I've heard of it:

A computer company has designed a powerful system, which is in the age of it. I am worried

This new design may be replicated, and they are designed for hardware structure and apply for a patent for the operating system.

.

Ten years later, a beginner asked the programming master asked the grungy and old wooden box behind the data center.

.

four

I've heard of it:

Don't let political reasons affect technical decisions; don't make political decisions according to scientific papers. only

These things will be mixed in the minds of ignorant.

Fives

I've heard of it:

The project plan and the scheduled timetable are meaningless. The milestones of those dates and projects are inherently

What meant means. However, there is a secret schedule that is understood by all people working in a project. This

A secret schedule has never been fooled by the outside world, and has never been manipulated to cater to the market. This one

The secret schedule is always complied because it reflects mutual understanding between members of all development units. Project

When this reality is reflected, the program will be completed as scheduled; when the project plan contradicts this realistic, the program will be delayed.

error.

six

I've heard of it:

There are three situations that will definitely lead to failure of program design projects. The first case is that the manager of this project is

There is no knowledge of software; the second case is that the project leaders responsible for the program code is not interested in writing code.

The third case is that the programmer who writes code is temporarily hired and loyal to the project. These three situations

Any of the inventory will lead to the failure of the project; the three situations appear at the same time, they will die.

Seven

I've heard of it:

Many company executives are happy to see the institutions that put them in high high and let their subordinates.

Set. These executives are tantamous in those who play "Kings on the mountain" game. Institutional settings, sometimes

Called with a tree structure, but the executives used by those structures seem to always forget, and the trees under the leaves have been

It is not going to be alive. Excellent executive officials always think of themselves as an organization,

Because of the burden of leaders, because this is the best way to play a role.

This is the famous fable of the programming master ninja - he can't teach the true meaning of the leadership, because the three

I want to be a student who believes too much about their own strength. Employees even when an organization is excellent in leadership

I don't know that they are being led. When the project is completed, they will say to themselves: "Look at us through us.

The result of your own efforts! "

Eight

I've heard of it:

The value of a program cannot be sized by its brochure, or the entire page advertisement in the public computer magazine.

The quantity is judged. These noise is more, the more useful procedures are useful; the truly excellent program does not need advertising,

The user will pass the mouth.

nine

I have heard: there is a cycle, this is the rhythm of the universe. Today, a program is popular, tomorrow is another; today amend

The mistakes in the 500 programs will appear five hundred new tomorrow. To understand life, you must know this section.

The existence of play. To understand Zen, you must live outside of this rhythm, from everyday life.

Only in this way, the mind will be free.

Fourth gold

Master: Vigorous God

Media: War

Hardware: printer

Direction: West

Software: Interpretation

Feel: hearing

Stage: Running

Animals: rabbit

System: MS-DOS

gold

Programming Masters strongly tries to use a unique teaching means of using the public case-Zen in explanation. Usually,

Everything is difficult to distinguish, and often have good meat and external meaning.

One

A beginner who studied a long time in college came to visit the programming master.

The beginner said: "I have remembered the algorithm collected in the 12 books of" computer programming art ", I can

Use Lisp, Prolog, Algol, Modula2, and Ada language.

Master nodded. "I rarely met people like you," he said, "I want to hear you about you

The opinion of a program I have written. "

"I am very happy to help you." Said, the beginner is proud of the chest.

The master walked into a floppy disk before his computer. "First of all, I have to copy it." He explained.

They sat there and listened to the rotating drive Shasha sounded. Suddenly, a message is displayed on the computer, "Magnetic

There is no space on the disc --Abort, Retry or ignore? "

The master knocked a "R" for retry, they listened to the sound of the drive again, then the prompt once again

Now on the screen. Master only had a "R" again, repeating the same thing.

Finally, the beginners can't hold it again. "There is no space on the disk," he said angry, "he is too full!

"

Master said: "It is too full of your head."

The beginner suddenly realized.

two

Master said: "Any program, no matter how small it is, there is always a mistake."

The beginner does not believe in the master, "if a program is only to implement a simple function, what will happen?

? "he asks.

"Such a program will have no meaning," Master said, "But if such a program exists, the operation department

The final will fail. Generate an error. "

But beginners are not satisfied. "If the operating system does not fail, what will happen?" He asked.

"There is no operating system that does not fail," Master said, "But if such an operating system exists, hardware

Finally, it will fail to generate an error. "

The beginner is still not satisfied. "If the hardware does not fail, what will happen?" He asked.

Master sighed. "There is no hardware that doesn't have lost," he said, "But if such hardware exists, use

Households will want this program to do a different thing, this matter is also a mistake! "

There is no mistake, it is a paradox, it is hard to find. Suppose there is a program without any errors, then

This world will not exist.

three

The magician in the Tooth tower came to visit the programming master, like it, brought him the latest invention.

The programming master raised his head from his terminal and saw the magician standing at the door. "What did you bring this time?

"Master asked.

"This is my greatest invention." The magician said, using the car to push a box into the house, "this is the ultimate table

I am able to do anything, typographic, diagram table and camera. I have been designed, anyone who is familiar with traditional typography can learn within a few months. I have what I made here, see it, it

Homepage like "Guanthen Bible". "

The master carefully looked at the sample, showing a smile. "What is this device intended to do?" He asked.

"We will use it to print technical descriptions." The magician said.

The magician often appeared in the folk story of Zen, as an opposite. Does this person really exist, no

It is known. However, there is a legend that this ivory tower has been controlled by a fanatic believer. This group is unable to do it.

Software piracy, murder, and other different kinds of unethical things to retaliate CRAY-2 super in the machine era

The rule of the computer.

This ivory is surrounded by the third dynasty and almost destroyed, but because of the government's assistance, it is very difficult, and

Reconstructed.

four

A beginner walked into the masters of the masters and saw a new computer on the table.

"What is the computer?" Beginner asked.

The master took the hand on a small box, which is connected to that computer through a cable. "Look,"

Master said, "This device controls our things that we see on the screen."

The beginner stared at the screen tightly, but he saw the meaningless symbol.

"This screen imitates a table," Master explains, "For example, the screen is here is the file cabinet and

Trash can, here is typewriters and calculators. "

"This is a great invention." The initiator won the low voice.

"It is not as great as it looks like it." Master said that he pushed a few feet behind the shoulders of beginners, "You

Can you see the two tables? "Master asked.

The beginners nodded. "A piece on the floor, another board on the screen." He said.

"Is this. So, is there anything less on a table?"

Beginners can meditate. "There is no computer on one of the tables." He said.

The master shakes. "There is no computer on any table."

Fives

An initiator asked the master: "What is the real meaning of program design?"

The master replied: "When you are hungry, you will eat; sleepy, you will sleep; when the time is just, it will be programmed.

"

six

The programming master walked into the work between beginners and heard a riots.

"These dead computers!" The beginners screamed angrily. "If you want to do something, I have to use three

Even four editing programs. Sometimes I have been cavered, and the result is deleted for the entire document, which is simply difficult.

endure! "

The master stared at the beginner. "So how do you plan to remedy?" He asked.

Beginners thought for a while. "I will design a new editor," he said, "one will replace all this.

Some programs of the program. "

Suddenly, the master knocked on the head of the beginner. This hit is not heavy, but the beginner is very surprised. "You this is

What do you mean? "Beginner shocked.

"I don't want to learn another editor." Master said.

The initiator suddenly realized.

Seven

A beginner asked the master. "Whenever I am programmed on a new system, I must learn a new language.

Why don't you have a standard? "

The master turned. "The only real standard is death." He said

Eight

A beginner asked Master: "Is there a Buddha in the ADA compilation program?"

The master replied: "Have you noticed that the character NUL is 000 in the eight-in-one, hexadecimal and decimal?"

The initiator suddenly realized.

nine

Two programmers named Di Agu and ancients are reporting to the chairman of the big company.

When ancient plots stood up, he said to the company's executive official, "You are born, you can understand the true computer."

Impact. "扯," Di Agu said, "Why do you praise this stupid? He may be an executive official, but he doesn't know anything about the computer. "

The executive officials gave them award, and then hired a consultant to determine who they were wrong.

Fifth water

Master: April

Media: 俳 俳

Hardware: Disk

Direction: North

Software: Compiler

Feel: taste

Stage: Test

Animal: snake

System: UNIX

water

Nun April was originally written.俳 俳 即 短 短, use a set of pre-good chapters to try to express an emotion

Or an idea. April's sentence, more expression of the lonely life of a programmer:

Debugging and working late at night, in vain testing, watching the simple joy when compiling, etc.

Stay. All programmers have these experiences, but they rarely mention that even between them.

The last part of this book is obviously a fragment in a masterpiece. The author is not talented. Failed to define these short poems

The implication is completely translated to achieve similar effects and the original poem, but also to read more.

One

The program is just a dream,

Born in an invisible zen,

We are just those who dream.

two

I am programmed for three days.

The two ear will not smell people,

Only hard drives are singing.

three

Compiler is running,

Like a rushing river,

I quietly wait.

four

Why use Lisp?

I don't understand the COBOL language,

So I use LISP.

Fives

Program the night,

Through the window, take it on the screen,

Rising sun.

six

hardware and software,

We are your owners and slaves,

Our life is a program.

Seven

can you hear me,

The sound of the program?

The answer is NUL.

Eight

Email said,

The project has been canceled.

When I cleaned the document, I cried.

nine

The calculation center is empty,

Quiet only has a fan in a humming.

I walked through a row of CPU,

The magnetic flux tatched my skin.

I opened a door, cold and hard,

See the indicator beats on the control board.

A machine with no soul, people say,

But its soul is the sweat of colleagues.

There are our lives in it.

Disappointed, friendship, sadness, joy,

The ecstasy when the algorithm is successful.

And countless people who are unless.

I heard the echo of sigh and laughter,

In this black hole office,

The terminal is shining, just like the stars.

转载请注明原文地址:https://www.9cbs.com/read-30060.html

New Post(0)