It version Kong Yiji)

Source: Internet
Author: User
[Do not study] recall Mr. Kong's IT Edition
My comments on this article:
Many people will have such a question: "Is this clearly the target of technical research? Is it promoting useless technology ?".

I also thought this way when I first read this article, but I gradually realized that this article is actually an ironic "Technical Study ", there are many such "Technical Research" in universities and companies ". What is "Technical Study? It is just some people who study grammar that has no practical significance all day and talk about things and methods that do not create practical value, when doing things, people with obsessive-compulsive disorder are always "local.
For example, if I met someone like this, my boss asked him to develop network programs using some encapsulated network communication function libraries, he said that he should first read three books in the middle and bottom of the "TCP/IP explanation", and develop the TCP/IP protocol only after it is completely transparent, you need to know that the network communication function library that your boss uses is a very popular function library in the industry, which is very stable and fully functional, this function library can be used to develop excellent network programs without being proficient in TCP/IP. Some colleagues have said that Mr. Yang is not promoting "it's useless to study the bottom layer. People have encapsulated it. Can we just do it as code workers? Is it different from the core concept of rupeng network ?" Error !!! Ruopeng always recommends that you understand the underlying principles. However, it depends on what the scenario is. The scenario described above is a task given by a boss with time constraints. It is necessary to sell the task to the customer as soon as possible to realize the profit of the company, you should get familiar with the function library as soon as possible, and then make something out, instead of trying to understand it from the bottom layer. In addition, I suggest that you do not drill down from the underlying layer from the very beginning when learning technology. Instead, you should first understand the application layer and drill down layer by layer. For example, when developing the MFC program in VC, we first familiarize ourselves with the MFC from the user's perspective, and then study how the MFC encapsulates winapi in C ++ mode, in this way, you can gain an in-depth understanding of the operating mechanism of windows. Instead of worrying about some details at the beginning, I always want to understand them. If you think of something you don't understand as a black box, you can call it. Don't waste too much time in this place, you may find it easy to understand the previous content in the later learning process. Learning programming doesn't mean learning mathematics. It doesn't mean that you can't connect without passing through the front.
I have also met many of these students and teachers who are always proud of these questions: "++ (* I ++) what is the result of ++? "What is the result of" 1*8/3-2/3 * 3% 8 "?" many people say when they see this problem, "Oh, my God, it seems that I have not learned enough. I should learn a little more and start programming. Otherwise, the basics of programming will definitely be messy."Get started with textbook Programming". A computer exists to solve practical problems, rather than to show off its existence. As long as you do a lot of work, "++ (* I ++) what is the result of ++? "If you have actually written some pointer application programs, it is easy to say this, but if you just want to" start learning programming in textbooks ", the process of solving problems will always be considered mathematical formula reasoning;"Does a question like 1*8/3-2/3 * 3% 8 make sense?Experienced programmers will never remember the combination of operators, because parentheses have higher priority than everything else, so when writing a program, we need to use brackets to force the priority "1 * (8/3) -2/(3*3) % 8) ". It cannot be written for a lifetime. What is the meaning of the Union Law of the operator?
Going deep into the underlying layer is different from learning technology! Do not take computers as mathematics. Computers exist to solve practical problems. Computers are a hands-on science!
========================================================== ================================

The pattern of the Internet cafes in luzhen is different from that in other places: They are all on the street with a curved large counter. The Cabinet is equipped with hot water and various drinks and wines. The workers spent five yuan each afternoon to get online all night. They can also get a bowl of wine while drinking and surfing the Internet. -- This was a thing that happened more than 20 years ago. Now it's worth ten yuan every night. -- standing outside the cabinet, drinking and resting hot; if you want to spend more money, you can buy a dish of fennel beans and make wine. If you make a dozen dollars, you can buy the same dish, but most of these customers are short clothes, everything you can see online is not on the table, so they are all standing online. As soon as the door is reached, you can also run without legs. Only those wearing long shirts can be pushed into the house next to the store. They need to drink wine and slowly sit and drink while looking at the things on the screen.

Since I was twelve years old, I became a guy at the xianheng Internet cafe in the town mouth. This Internet cafe is large, except for providing services for customers to access the Internet, there are also development departments that help customers customize some tools. In the beginning, the manager said, it looked silly, afraid that they could not wait for the long shirt to take care of, just do something outside. Although it is easy to talk about the customer's clothes outside, there are also a lot of confused people. They often bring their pocket watches in person. When checking out the bills, they should check whether the Internet cafe is a few minutes away. Some also call the Greenwich Mean observatory to check whether their pocket watches are running fast. Then they can feel at ease: in this case, the timer is also very difficult. So after a few days, the shopkeeper said that I could not do this. Thanks to the fact that the referral header is too big to be dismissed, another reason is that I have worked in the Chinese soft Research Institute for several years, so I changed to a boring role dedicated to writing some psp.net programs.

I have been standing in the counter all day since then, taking special care of my position. Although there is no dereliction of duty, I always feel monotonous and boring. The shopkeeper is a fierce face, and the master is not sound, and the teacher is not lively; only Kong Yiji can laugh a few times, so I still remember.

Kong Yiji is the only person standing online and wearing a long shirt. He was tall. He looked white and often had scars between wrinkles. He had a garbled white beard. Although wearing a long shirt, but dirty and broken, it seems that more than a decade has not been done or washed. He speaks to people, and he is always full of people. Because of his surname Kong, other people would give him a nickname, Kong Yiji, if they do not understand the word "upper adult Kong Yiji" on the red paper. As soon as Kong Yiji arrived at the store, all those who were drinking watched him smile and some shouted, "Kong Yiji, you have a new scar on your face !" He did not answer the question and said to the cabinet, "I need a dish of fragrant beans for the last two hours ." 19 yuan will be charged. They shouted, "you must have stolen something from someone else !" Kong opened his eyes and said, "Why are you so innocent ......" "What is white? The day before yesterday, I saw you decompile kernel32.dll, which was suspended by Bao's treasurer ." Kong Yiji turned his face red, and the blue-and-green bands on his forehead burst out, arguing, "the reference cannot be stolen ...... Learn more !...... Is it possible to steal a scientist ?" Even though it is hard to understand, "Whether the camel naming method is in front of the upper case or lower case", and what "using has several usage methods" casually throws: "you guys, I want to go home and review my homework. "It makes everyone laugh: the store is full of happy air.

After hearing from people, Kong Yiji had read books, NVP and NCSE, but finally he had not entered the school and won't start a camp. As a result, the poorer he got, the more he was about to seek help. Fortunately, I wrote some pretty code and it was very fast and powerful, so I took some private work and exchanged a bowl of food. It is a pity that he has a bad temper, that is, he has read a few books on the shelf. In less than a few days, I picked a thorn in my colleague's code, saying that this section does not comply with any rules and that it does not implement interfaces ...... The team is very nervous and often delays working hours. For a few times, no one has asked him to do things. Kong Yiji has no way, so he will inevitably intrude into the banking host by accident. But in our store, his character is better than others, that is, he never owes in arrears. Although there is no cash available, he will keep it on the powder board for the time being, but he will definitely pay off in January, the name of Kong Yiji is removed from the powder board.

Kong Yiji drank half a bowl of wine, and his red face gradually changed. Others asked, "Kong Yiji, do you really want to program ?" Kong Yiji looked at the person who asked him, and showed disdain to argue. They went on to say, "How can't you even get half a talent ?" Kong Yiji immediately showed a poor look, his face was covered with a gray layer, and his mouth said something; this time it was all a pointer heapStackAnd so on, some people will casually throw a sentence: "You guys are going to go home to review their lessons." At this time, everyone laughed: inside and outside the store is filled with happy air.

At these times, I can smile with a smile, and the shopkeeper will never blame me. In addition, when the shopkeeper saw Kong Yiji, he always asked him this question, which made him laugh. Kong Yiji knew that he could not talk to them, so he had to speak to the children. One time, I said, "Have you ever written a program ?" I just nodded. He said, "I wrote ,...... I will test you. How can I print out the text on the screen ?" I think, should people like me take the exam? Then I went back to my face and ignored it. After waiting for a long time, Kong Yiji earnestly said, "no ?...... I will teach you, remember! These modes should be noted. In the future, you will need to write your account ." I secretly thought that I still had a long grade with the Treasurer, and our treasurer never posted the camphor bean; it was funny, impatient, and lazy to answer him, "who want you to teach, not the console. writeline is a straw header, and then a back-to-back response?" Kong Yiji showed a very high look. He knocked his two fingers on the counter and nodded and said, "Yes, yes !...... There are four methods to write a response, you know? Your approach is not good, and there are a lot of redundancy. in case someone makes a mistake, it is hard to trace the responsibility. I will write it to you, you can see that I have used the template method mode, the bridge mode, the abstract factory mode, and the universal database compatibility mode in a comprehensive manner, which is extremely elegant ":

  1. Using system;
  2. Using system. Data;
  3. Using system. Data. Common;
  4. Namespace kongyiji
  5. {
  6. Interface ihui
  7. {
  8. Void print ();
  9. Void print (INT step );
  10. }
  11. /** // <Summary>
  12. /// Abstract the base class to implement the output of common scripts
  13. /// </Summary>
  14. Abstract class ahui: ihui
  15. {
  16. Ihui I;
  17. Private idbcommand comm;
  18. Private idbconnection conn;
  19. Private dbproviderfactory _ dbfac;
  20. Private idbdataparameter pram;
  21. Public ahui (dbproviderfactory dbfac)
  22. {
  23. Console. writeline ("succeeded ");
  24. _ Dbfac = dbfac;
  25. }
  26. Public abstract void print ();
  27. Protected void saveswitch (string hui_type)
  28. {
  29. Conn = _ dbfac. createconnection ();
  30. Conn. connectionstring = @ "Data Source = localhost; initial catalog = local_dbersist Security info = true; user id = saassword = 123456789 ";
  31. Comm = conn. createcommand ();
  32. Comm. commandtext = "insert into log (hui_type) values (@ hui_type );";
  33. PRAM = comm. createparameter ();
  34. Pram. dbtype = dbtype. String;
  35. Pram. parametername = "@ hui_type ";
  36. Pram. value = hui_type;
  37. // Conn. open ();
  38. // Comm. executenonquery ();
  39. // Conn. Close ();
  40. }
  41. Public void print (INT step)
  42. {
  43. I = huifacloud. Hui (_ dbfac, step );
  44. I. Print ();
  45. }
  46. }
  47. /** // <Summary>
  48. /// Return Statement
  49. /// </Summary>
  50. Class selecthui: ahui
  51. {
  52. String _ Hui;
  53. Public selecthui (string select_hui, dbproviderfactory dbfac)
  54. : Base (dbfac)
  55. {
  56. _ Hui = select_hui;
  57. }
  58. Public override void print ()
  59. {
  60. Console. writeline (_ Hui );
  61. Saveswitch (_ Hui );
  62. }
  63. }
  64. Class huifacloud
  65. {
  66. Public static ihui Hui (dbproviderfactory dbfac, int step)
  67. {
  68. Ihui temp = NULL;
  69. Switch (STEP)
  70. {
  71. Case 1:
  72. Temp = new selecthui ("back", dbfac );
  73. Break;
  74. Case 2:
  75. Temp = new selecthui ("Courier", dbfac );
  76. Break;
  77. Case 3:
  78. Temp = new selecthui ("Courier", dbfac );
  79. Break;
  80. Case 4:
  81. Temp = new selecthui ("Courier", dbfac );
  82. Break;
  83. Default:
  84. Temp = new selecthui ("Courier", dbfac );
  85. Break;
  86. }
  87. Return temp;
  88. }
  89. }
  90. Class Program
  91. {
  92. Static void main (string [] ARGs)
  93. {
  94. Dbproviderfactory FAC = dbproviderfactories. getfactory ("system. Data. sqlclient ");
  95. Ihui I = huifacloud. Hui (FAC, 4 );
  96. I. Print ();
  97. I. Print (2 );
  98. }
  99. }
  100. }

Copy code

The more impatient I was, the more I put my mouth away. After writing the paper, Kong Yiji asked the manager for a cigarette and wanted to continue to say something. Seeing that I was not enthusiastic, he sighed again and showed a very pity.

After several times, the children in the neighbors laughed and joined Kong Yiji. Then he gave them a pair of fennel beans. After eating beans, the child still does not scatter, and his eyes all look at the dishes. Kong Yi was panic, stretched out his fingers and covered the plate. He bent down and said, "Who can tell me how many words a TCP/IP packet can hold .", You look at me, kids, I look at you, some stretch five fingers, some stretch two fingers ...... Kong Yiji got up and looked at the beans. He shook his head and said, "Not much! Duohuzai? Not much ." So the group of children dispersed in laughter.

Kong Yiji is so happy, but without him, others will do the same.

One day, about two or three days before the Mid-Autumn Festival, the shopkeeper was slowly checking out and removing the powder board. Then he suddenly said, "KONG Yi has never been here for a long time. I still owe 19 yuan !" I thought he did not come for a long time. A drinker said, "How can he come ?...... He got a discount ." The manager said, "Oh !" "He is still the face that looks down on people. In this case, I was so dizzy that I had to argue with others that there were several data types in assembly languages. Do those people make it difficult ?" "What about later ?" "How? First, I recorded my confession, and then I made a fight. After midnight, I got a discount on my leg ." "What about later ?" "I got a discount ." "What if I get a discount ?" "How ?...... Who knows? Maybe it's dead ." The manager does not ask any more, but still calculates his account slowly.

After the Mid-Autumn Festival, the autumn wind is cooler than a day, look at the beginning of winter; I rely on fire all day, also need to put on cotton jacket. In the next half day of the day, I was sitting close to my eyes without a customer. Suddenly, I heard a sound: "three hours, we need a private room ." This sound is extremely low, but very familiar. No one looked at it. Standing up and looking out, Kong Yiji sat down at the right door under the counter. His face was black and thin, and he was no longer the same. He wore a broken jacket, his legs tied, his underfloor covered with a bag, and hung it on his shoulder with a straw rope. When he saw me, he said, "Three hours, a private room is required." The shopkeeper stretched out his head and said, "Is Kong Yiji? You still owe 19 Yuan !" Kong Yiji replied, "This ...... Pay off next time. This is a cash gift, the room should be clean, and the Internet will look pretty ." The shopkeeper still said to him with a smile, "Kong Yiji, you're in trouble again !" But this time he was not very different. He simply said, "Don't make fun of it !" "Fun? How can you break your legs if you don't bother ?" Kong Yiji whispered, "breaking down, falling, falling ......" His eyes look like begging for the treasurer. Don't mention it again. Now I have gathered a few people and laughed at them with the shopkeeper. I arranged a room and took him in. He found six dollars in his pocket and put them in my hand. Seeing that his hand was full of mud, he came with it. Three hours later, he finished the network. Kong Yiji never cares about us during the checkout. This time, I gave him ten more minutes. This time, he stepped out of the room and looked at his face with a full face. Some people make fun of him: "How many levels have the druid risen ?", Kong Yiji replied: "All we need is MFC, and the server does not use WebLogic of AEA. Is there a lot of redundant data in the upgrade module ?"" Shame? I watched you play it with my own eyes. Did you crack someone else's DLL and want to steal code ?", Kong Yiji immediately showed a poor appearance, his face was covered with a gray layer: "The gentleman is so poor, his words are rich, are all other goods, how to steal. You guys are going home to review their lessons ." Then I sat down and walked slowly with this hand in the laughter of others.

Since then, Kong Yiji has not been seen for a long time. At the end of the year, the shopkeeper removed the powder and said, "Kong Yiji still owes 19 Yuan !" In the Dragon Boat Festival of the second year, he said, "Kong Yiji still owes 19 Yuan !" I didn't say it at the Mid-Autumn Festival, and I didn't see him at the end of the year.

I haven't seen it yet-Kong Yiji is indeed dead.
Post from: http://www.cnblogs.com/kvspas/archive/2008/12/25/1361932.html#Feedback

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.