Programming - THE Tao of Programming (II)

xiaoxiao2021-03-06  36

The Tao Of Programming (II) Programming

Book 5 - MaintenanceBook 6 - Managementbook 7 - Corporate Wisdombook 8 - Hardware and Softwarebook 9 - Epilogue

Mainteancebook FIVE

Thus spake the master program: Programming Master is said:

"Though a Program Be But Three Lines Long, Someday It Will Have to Be Maintained." "There is only three sectors of a program, and there is always one day to maintain it."

5.1

A Well-used Door Needs No Oil on Its Hinges.a swift-flowing steam does no growth stagnant.neither Sound Nor Thoughts Can Travel Through a vacuum.software Rots if not used. Regular use do not need to go to the door shaft . The flowing thing will not stagnate. The water is not rot, and the house is not embarrassed. Sounds and thoughts cannot spread in vacuies. The software will not be decay.

The release.

5.2

A Manager Asked A Program HOW Long It Would Take Him To Finish The Program On Which He Was Working. "The Programmer Promptly Replied. Manager asked how long it takes to complete his project. "tomorrow"

"I think you are being unrealistic," said the manager. "Truthfully, how long will it take?" "Too much to marry, honest, how long?"

The Programmer Thought for a moment. "I have some features That I wish Take at Least Tw Weeks," HE Finally Said. Programmer thinks. "There are some new features to add, maybe at least two weeks."

"Even That Is Too MUCH TO EXPECT," I Will Be Satisfied if you Simply Tell Me When the program is completion. "" Even if you are too exaggerated even two weeks, when you just tell me the program It's okay. "

The Programmer Agreed to this.

Several Years Slated, The Manager Retired. On The Way To His Retirement Lunch At His Terminal. He Had Been Programming All Night. After a few years, this manager has retired, in his separation lunch, he Found these programmers fell asleep before his terminal, he is programs all night.

5.3

A Novice Programmer Was Once Assigned To Code A Simple Financial Package. An initiator is required to write a financial software.

The novice worked furiously for many days, but when his master reviewed his program, he discovered that it contained a screen editor, a set of generalized graphics routines, and artificial intelligence interface, but. He frantically work of anything financial not the slightest mention Many days, but his supervisor found that when he was a program, it wrote an editors, a graphics set, and artificial intelligence interface, but did not see anything related to finance. The programmer is angered when the programmer is anger when the master is interpreted when the master is interpretation, and the programmer is angered when the executive is interpreted. Without patience, I will write some part of the finance. "

5.4

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? A good farmer neglect His crops. A good teacher will not be a worst student. A good father will not let him hungry any children. A good programmer should not refuse to maintain his procedure.

Managementbook Six

Thus spake the master program: Programming Master is said:

"Let The Programmer Be Many and The Managers Few - The All Will Be Productive." "Add programmers to reduce managers - so they can improve efficiency."

6.1

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. Managers hold endless When the meeting, the programmer is writing the game. The financial executives will be reduced during the discussion of the quarterly profit. When the old scientist talks about the blue sky, the cloud group flocked.

Truly, this is not the tao of programming. This is not a 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. When managers assign tasks will not be included Games, accountants should do the long-term plan, they should be good, all happy. Scientists put forward a problem, they will be resolved soon.

Truly, this is the tao of programming. This is the way of programming.

6.2

Why Are PROGRAMERS NON-PRODUCTIVE? BECAUSE Their Time is Wasted In Meetings. Why the programmer is not efficient, because they are wasting time at the meeting.

Why Are PROGRAMERS REBELLIOS? BECAUSE The Management Interferes Too Much. Why is the programmer is difficult to manage? Because the manager's intervention is too much.

Why Are The Programmers Resigning One by One? Because They is BURNT OUT. Why is the programmer resigns one by one, because they are tired.

Having Worked for Poor Management, They no longer value their jobs. Working under poor management, they have fun without work.

6.3

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. A manager will be fired, but a programmer under his hand write A popular software and the sales are very popular. So managed his work.

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." Manager programmer a bonus, but the programmer refused He said: "I wrote the program because the writer is very interesting, so I didn't think about it."

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!" The manager said, "This The programmer, no matter what is where he is now, he can understand the responsibility of an employee. We have to upgrade him to manage consultants. "

Butling, "I Exist So That I can Program. If I WERE PROGRAM. I WORLD DO Nothing But Waste Everyone's Time. Can I Go now? I Have a Program That I'm Working This programmer refused again, he said: "I am a programmer, so I can program it. If I have been upgraded, I can't do anything about waste others, now I can go? I am? There is still a program that is not finished. "

6.4

A manger 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. Manager said to programmers, "Your working time is 9 o'clock in the morning." All programmers are very dissatisfied. 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. The manager said: "Well, then with you, as long as you can complete the task on time." The programmer is satisfied, and they at noon, they have been working until the early morning.

Corporate Wisdombook Seven

Thus spake the master program: Programming Master is said:

"You can Demonstrate A Program for a Corporate Executive, but you can't make him computer literate." You can demonstrate a set of programs to a company, but you can't make his computer like people. "

7.1

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 Su Such An Unnatural Entity EXIST? "A new learning master:" in the East There is a huge agency, people are called headquarters. It is made by numerous size leaders. Every day, every memo said: 'Dry this, do that', no one knows what it means? This institution will have more people to add more and more, but there is no one to do things. How can I still exist in the strange thing? "

The master replies:.?? "You perceive this immense structure and are disturbed that it has no rational purpose Can you not take from its endless gyrations amusement Do you not enjoy the untroubled ease of programming beneath its sheltering branches Why are you bothered by its Uselessness? "Master said:" You already know that this huge institution is not reasonable, you can't do this? Why do you have this? You don't have the advantage of it, do you want to do it? "7.2

In the east there is a shark which is larger than all other fish. It changes into This message it drops into a bird whose winds are like clouds filling the sky. When this bird moves across the land, it brings a message from Corporate Headquarters. The Midst of The Program - Mrs, Like a Seagull Making Its Mark Upon The Beach. The Bird Mounts on The Wind and, with the blue sky. In the distant oriental, the legend has a huge fish, Calling, it turned into a big bird, called Peng, Peng's wings can cover the sky, this big bird passed the land, it brought a message, and it lost this message in the programmer. Just like a seagull made in the beach, then Peng's back blue sky, take the wind, go home.

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. At the horror, he looked at this bird at all. At all, the intermediate programmer worried about the arrival of this bird because it was afraid that the news that the programming continued him before his terminal. I don't know if this bird has been here.

7.3

The Magician of the Ivory Tower brought his latest invention for the master programmer to examine. The magician wheeled a large black box into the master's office while the master waited in silence. A pedant with his latest invention, the master programmer, he A big black box promotes the master's office.

"This is an integrated, distributed, general-purpose workstation," began the magician, "ergonomically designed with a proprietary operating system, sixth generation languages, and multiple state of the art user interfaces. It took my assistants several hundred man years to construct Is IT Not Amazing? "This is a comprehensive, distributed general workstation,", "" "" According to the operating system of ergonomics, the sixth generation of senior languages, diverse user interfaces, whole flower My assistant is very good for hundreds of people. "The master raised his eyebrows slightly." It is indeed amazing, "He Said. Master raised the eyebrow, said:" It is really worth it. "

"Corporate Headquarters Has Commanded," Continued The Magician "That Everyone Use this Workstation As a Platform for New Programs. Do you agree to this?" "The head has already said," said the school continued, "everyone must Use this workstation to work for platform, what do you think? "

"CERTAINLY," "I will have it transport to the data center immediately!" And the magician returned to his tower, well pleased. "Of course,", the master replied, "I want to send it immediately. Data center go! ", This student is satisfied back.

Several Days Later, a novice wandered Into the office of the master program and said, "i can you know the listing for my new program. DO you know?" After a few days, a novice walked into the master's office saying that "I can't find my newly written program, do you know where it may be?"

"Yes," Replied The Master, "The Listings Are Stacked on The Platform in The Data Center." "Of course,", the master said, "Your program is put in the platform of the data center."

7.4

The master programmer moves from program to program without fear. No change in management can harm him. He will not be fired, even if the project is canceled. Why is this? He is filled with the Tao. The master programmer moves from a project Another project and no concern, any changes in management can't affect him, he will not be dismissed, even if the project is canceled. why? He learned. Hardware and Softwarebook Eight

Thus spake the master program: Programming Master is said:

"WITHOUT The Wind, The Grass Does Not Move.without Software, Hardware IS Useless." The wind does not move, no software, hardware is just a bunch of fever electronic devices

8.1

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...?" A beginning Scholars asked Programming Masters: "I know that there is a computer company bigger than all other companies. Its competitors in front of it are like standing in front of the giants. It has its own business, why do you like this? ? "

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. "Why do you ask such a stupid problem? The company is because it is so Big, if it only does hardware, no one will buy it, if it only maintains the system, people will only treat it as a servant, but its business includes all these things, people will have a top ceremony, I don't have to work hard. Struggle can defeat the competitor

8.2

A Master Programmer Passed a Novice Programmer One Day. The master Nonded The Novice's PreoccuPation with a Hand-Held Computer Game. "EXCUSE ME", He Said, "May I Examine It?" One day programming master met a game playing game The programming of the machine, he said, "Let me look at 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. "I saw the three difficulty games: Easy, medium, high, difficult," "But every such game console has another gameplay. At this time, the game constructor is not thinking about how to win you, nor how to win." "Pray, Great Master," Implored the Novice, "How does ONE Find this mysterious setting? "" So, please ask the master ", beginners say," How do this gameplay play? "

The master Dropped The Device To The Ground and Crushed It Under Foot. And Suddenly The Novice Was EnLightened. The master fell the game machine to the ground and stepped on it with his feet, and suddenly the beginner understood.

8.3

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? "There is a larger machine that works on the microcomputer. Say: "Take a look at me, I have my own operating system and file storage device, I don't need to share any resources with others, the software bar is reasonable and easy to operate. Why don't you resign to your work?"

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 primevalrat Jungle. The Programs, Each Unique, Move Through The System Like A Swift-Flowing River. That Is Why I am Happy WhereE I am. Programmer His friend said: "The large machine is as deep as the ancient sages. Its disk equipment is like a huge mechanical equipment from the head to the end. Software is like diamonds, like ancient forests like ancient forests. Every program is like water through the river, and it is the same as why I am willing to work for it. "The Microcomputer Programmer, Upon Hearing this, Fell Silent. But The Two Programmed Friends Until the End of their Days. Microcope program After listening to these words, silently don't speak, but these two programmers are very good friends.

8.4

Hardware met Software on the road to Changtse Software said:. "You are the Yin and I am the Yang If we travel together we will become famous and earn vast sums of money.." And so the pair set forth together, thinking to conquer The World. Hardware and software met on the road, the software said: "You are Yin, I am Yang. If we join hands, you can make big money." So they have come, consider how to conquer the world.

Presently, they met Firmware, who was dressed in tattered rags, and hobbled along propped on a thorny stick Firmware said to them:.. "The Tao lies beyond Yin and Yang It is silent and still as a pool of water It does not. SEEK FAME, THEREFORE NOBODY KNOWS ITS Presence. Itself. It is complete with time. "Soon, they encountered firmware, firmware clothes, and a walkstick. The firmware said to them: "The road is in yin and yang. It is like a water, it never expects to be far away, so no one knows its existence. It does not seek happiness, it is just with it, it is just with it. It exists outside of space and time. "

Software and hardware, ashamed, returned to their homes. Software and hardware are rypected, each returned home.

Epiloguebook Nine

Thus Spake The Master Programmer: Programming Master is said: "Time for You to Leave." "Now is your time."

(Finish)

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

New Post(0)