[Organize and edit] What is the design mode?

Source: Internet
Author: User

I recently read a book called design patterns. I have been looking for a good example to illustrate what a design pattern is? There was such a good example:

First, someone came up with an organizational method:

I opened a source file with a length of 0.13 million lines, which basically contains the C ++ source code. After careful observation, the original windowxp core code turned out to be written by Object Pascal, we are familiar with Delphi. I did not expect that the core program of Microsoft's Windows operating system was written in Delphi. My days, Delphi, which was abandoned by me, is now my favorite, comrades, let's learn about Delphi.

As a result, it looks good, so many people will follow it.

I opened a source file with a length of 0.13 million lines. The source code is basically the Object Pascal source code, which is the familiar delphi. But after careful observation, the original windowxp core code was written as a logo, in addition, we were familiar with Fortran. I did not expect that the core program of Microsoft's Windows operating system was actually written with a logo. My day, at that time, my abandoned logo and FORTRAN have become my favorites. Comrades, let's learn about logo and FORTRAN.

I opened a source file with a length of 0.13 million lines. It basically contains English letters and numbers. I thought it was c ++, but after careful observation, originally, the core code of windowxp was directly written in English, which is our familiar English. I did not expect that the core program of Microsoft's Windows operating system was written in human language. My day, at that time, the English that I had abandoned has become my favorite. Thank you!

I opened a source file with a length of 0.13 million lines. The source files are all 0 and 1. I thought it was garbled, but after careful observation, the original windowxp core code actually all uses 0 and 1, we are familiar with binary. I didn't expect that the core program of Microsoft's Windows operating system was written in binary. My day, the binary program that was abandoned by me now became my favorite, comrades, let's learn about 0 and 1.

I opened a source file with a length of 0.13 million lines. The source files are all 0 and 1. I thought it was garbled, but after careful observation, the original windowxp core code was actually 0 and 1, 2, 3... 9 is our familiar decimal. I did not expect that the core program of Microsoft's Windows operating system was actually written in decimal. My day, the decimal which was abandoned by me now became my favorite, comrades, let's study 0, 1, 2, 3 .... 9

I opened a source file with a length of 0.13 million lines, which is full of unreadable characters. I thought it was garbled, but after careful observation, originally, the core code of windowxp was written in animal shell text, that is, Oracle, which we are familiar with. I did not expect that the core program of Microsoft's Windows operating system was written in Oracle, my day, oracle, which has already been abandoned by humans, is now my favorite. Comrades, let's study Oracle!

I opened a source file with a length of 0.13 million lines, which contains all kinds of symbols and comments. I thought it was written with special tools, but after careful observation, originally, all the core code of windowxp was input with a keyboard, which is a familiar standard keyboard. I did not expect that the core program of Microsoft's Windows operating system was written with a keyboard. comrades, let's learn how to use the keyboard!

I opened a source file with a length of 0.13 million lines, which is full of unreadable characters. I thought it was garbled, but after careful observation, originally, all the core code of windowxp was written in the first letter of the gb2312 standard, which is the familiar Chinese standard text, I did not expect that the core program of Microsoft's Windows operating system was written in Kai Wen. My days have already been abandoned by humans and become my favorite, comrades, let's learn Oracle!

I opened a source file with a length of 0.13 million lines, which basically contains the C ++ source code. After careful observation, the original windowxp core code turned out to be written by Object Pascal, it is our familiar Prolog. I did not expect that the core program of Microsoft's Windows operating system was actually written in Ada. My days, the C # That was abandoned by me now became my favorite, comrades, let's study Matlab.

I opened a source file with a length of 0.13 million lines and thought it was basically the C ++ source code. But after careful observation, the original windowxp core code turned out to be empty, that is, nothing! I did not expect that the core program of Microsoft's Windows operating system would be empty. My God, we have been studying it for so long. It turns out that Microsoft can create a Windows program to play with us without having to write anything.

I opened a source file with a length of 0.13 million lines, which basically contains the C ++ source code. After careful observation, the original windowxp core code was filled with water, we are familiar with "up", "scoring", and "congratulations". I didn't expect that the core program of Microsoft's Windows operating system was filled with water. My day, at that time, the self-built automatic water filling machine that was abandoned by me has become my favorite. Comrades, let's study irrigation.

I opened a source file with a length of 0.13 million lines, which basically contains f * ck, make L * ve, ah, oh... but after careful observation, the original windowxp core code is actually done by people, that is, we are familiar with "in", "out", "high ", I did not expect that the core program of Microsoft's Windows operating system was actually done by people. My days, the "odd fun and fun" that I abandoned was now my favorite, comrades, let's go home and do it.

I opened a source file with a length of 0.13 million lines. The source files are basically Ada, cfront, and TCL. After careful observation, the core code of windowxp was actually generated by the compiler, this is what we are familiar with: "make", "Build", and "redistribute". I didn't expect that the core program of Microsoft's Windows operating system was compiled by a computer. My day, the "TCL trump card compiler" that I abandoned at that time has become my favorite. Comrades, let's compile the code.

I opened a source file with a length of 0.1 million lines, which basically contains C ++ source code. After careful observation, the original Delphi core code was actually written by VC ++, it is the VC we are familiar with. I didn't expect that the core program of the baolan compiler was actually written by VC. My God, the VC that was abandoned by me now has become my favorite, comrades, let's learn about VC.

I opened a source file with a length of 0.1 million lines and found that the source file is actually "main function", "sub function", "loop", and "jump"..., I am sweating ~~~ Is Windows XP written in Chinese ?! So I sincerely said: comrades have made us learn Chinese !!!

I opened a source file with a length of 0.13 million lines. It basically contains English letters and numbers. I thought it was c ++, but after careful observation, originally, the core code of windowxp was TC, Which is 2.0 that we were familiar with. I did not expect that the core program of Microsoft's Windows operating system was actually written using borlan. My day, turboc, which was abandoned by me at that time, has now become my favorite. Comrades, let's study TC.

I opened a source file with a length of 0.13 million lines, which contains all unreadable characters. I thought it was garbled, but after careful observation, the original windowxp core code was all written by hand, we are not very familiar with the wild grass. I did not expect that the core program of Microsoft's Windows operating system was written in a rough book, my day, the grass books that have been forgotten have now become my favorite, Comrades. Let's study the grass books!

I opened a source file with a length of 0.13 million lines, which basically contains the/*** // source code. After careful observation, the original windowxp core code was written with comments, is what we are familiar with/** //. I did not expect that the core program of Microsoft's Windows operating system was written in comments. My day, the comments I have never written at the time have become my favorite. Comrades, let's learn how to write comments.

I opened a source file with a length of 0.13 million lines, which basically contains numbers. I thought it was a source code line number, but after careful observation, originally, the windowxp core code was directly pieced together by phone numbers, which is what we are familiar with <Chinese Yellow Pages>, I did not expect that the core program of Microsoft's Windows operating system was written by our <Chinese Yellow Pages> phone number, my day, the <Chinese Yellow Pages> that I abandoned to WC now became my favorite. Comrades, let's take a good look at <Chinese Yellow Pages>.

After a large number of applications, some people have summarized this form as follows:
Cout <"I opened a source file with a length of 0.13 million lines, which is basically" <str1 <"Source code. After careful observation, originally, the core windowxp code was written as "<str1 <", which is something we are familiar with. "<str3 <", I did not expect that the core program of Microsoft's Windows operating system was written by "<str3 <", my day, the "<str3 <" I abandoned at the time has become my favorite. Comrades, let's learn "<str3 <! "<Endl;
Please assign values

As a result, the design pattern appeared, and then everyone continued to develop according to this pattern.

I opened a source file with a length of 0.13 million lines, which contains all unreadable characters. I thought it was c ++, but after careful observation, originally, the core code of windowxp was all written by frog A, which is the familiar java. I did not expect that the core program of Microsoft's Windows operating system was written by Java. My day, java, which has already been abandoned by me, has become my favorite. Comrades, let's learn Java!

I opened a source file with a length of 0.13 million lines, which contains all unreadable characters. I thought it was c ++, but after careful observation, originally, all the core code of windowxp was actually used;, which was written by the empty statements we were familiar with. I did not expect that the core program of Microsoft Windows operating system was written with null statements, my days have already been abandoned by me. Now I have become my favorite, Comrades. Let's learn it!

I opened a source file with a length of 0.13 million lines, which contains all unreadable characters. I thought it was c ++, but after careful observation, originally, all the core code of windowxp was written in Chinese characters, which is a familiar Chinese character. I did not expect that the core program of Microsoft's Windows operating system was actually written in Chinese characters. My day, chinese characters that have been abandoned by me have now become my favorite. Thank you!

I opened a source file with a length of 0.13 million lines, which is full of unreadable characters. I thought it was garbled, but after careful observation, originally, all the core code of windowxp was written by leaf butterfly, which is a familiar specimen. I did not expect that the windows of Microsoft's Windows operating system's core program was written by leaf butterfly, my God, the leaf butterfly that has been abandoned by humans has now become my favorite. Comrades, let's learn to capture butterflies!

I opened a source file with a length of 0.13 million lines, which is full of unreadable characters. I thought it was garbled, but after careful observation, originally, all the core code of windowxp was written in Hongtao, fanke, plum blossom, and black peach, which is the playing cards we are familiar, I did not expect that the windows of Microsoft's Windows operating system's core program were dug up by billgates. My days, playing cards that have been abandoned by humans have now become my favorites, comrades, let's study the pitfalls!

I opened a source file with a length of 0.13 million lines, which is full of unreadable characters. I thought it was garbled, but after careful observation, originally, the core code of windowxp was all written in Traditional Chinese, which is the traditional Chinese we are familiar with. I did not expect that the core program of Microsoft's Windows operating system was written in Traditional Chinese. My day, the traditional Chinese text that has been abandoned by humans has now become my favorite, Comrades. Let's study traditional Chinese text!

I opened a source file with a length of 0.13 million lines, which basically contains some letters, but after careful observation, I touched and touched it on the monitor, and it turned out to be concave, originally, the core code of windowxp was carved out with a knife. I didn't expect that the core program of Microsoft's Windows operating system was carved with a knife. My God, let's discard the keyboard, pick up the knife and engrave it on the monitor.

I opened a source file with a length of 0.13 million lines, but I don't know what it is. After my efforts, I asked my friends about biotechnology and analyzed and tested it, originally, the windowxp core code was cloned from the cell of the cow, namely the milk-producing cow. I did not expect that the Microsoft Windows OS core program was cloned from the cell of the cow, my God, let's get rid of the keyboard, raise the ox, and then clone it slowly.

I opened a source file with a length of 0.13 million lines, which is basically garbled, but after careful observation, the original windowxp core code is actually mentally retarded, which is a mental illness we are familiar, I did not expect that Microsoft's core Windows operating system program was written as a mental illness. My God, the mental illness that had been abandoned by me now became my favorite. Comrades, let's be mentally retarded.

I opened a source file with a length of 0.13 million lines. The source code inside is basically C ++, but after careful observation, I found that a sticky thing was touched by a hand, and it turned out to be bubble gum, originally, the core code of windowxp was stuck with bubble gum, which we were familiar with. I didn't expect Microsoft's core program of Windows operating system to be made with bubble gum. My day, at that time, my discarded bubble gum has become my favorite. Now, I want to chew on it again. Comrades, let's learn how to eat bubble gum.

I opened a source file with a length of 0.13 million lines, and it was full of incomprehensible content. I thought it was a "". I'll go! However, after careful observation, the core code of windowxp turned out to be ant, which is a familiar phenomenon of "ant food, I did not expect that the windows of Microsoft's Windows operating system's core program were crawled by ANT financial. My day, ant financial, which has already been ignored by city humans, is now my favorite, comrades, let's tease ant!

You opened a source file with a length of 0.13 million lines, which contains a collection of dirty and rare source code. After careful observation, you can find several watermelon seeds in it, I caught a pack in the middle finger, and I tried it again. The core windowxp code turned out to be a bunch of dogs. This is what you are familiar, I didn't expect that the core program of Microsoft's Windows operating system was built on a zombie. You can eat it now .... I can't write any more ..
Go crazy.

I opened a source file with a length of 0.13 million lines, which basically contains the C ++ source code. After careful observation, the original windowxp core code was written as a script on the Activity Service Page, we are familiar with ASP. I did not expect that Microsoft's core program of Windows operating system was actually used.
ASP, my day. asp, which was abandoned by me, is now my favorite. Comrades, let's learn ASP.

I opened a source file with a length of 0.13 million lines, which basically contains C ++ Source Code. However, after careful observation, the original windowxp core code turned out to be unbeaten by embroidery needles in the east, it is our well-known sunflower collection. I did not expect that Microsoft's core Windows operating system program was carved with embroidery needles, my day, at that time, the sunflower collection that I despised has become my idol again. Comrades, let's take a good look at ourselves.

I opened a source file with a length of 0.13 million lines, which basically contains the C ++ source code. After careful observation, the original windowxp core code turned out to be written by Oracle, it is the familiar hieroglyphics. I did not expect that the core program of Microsoft's Windows operating system was actually written in hieroglyphics. My days, at that time, the pig's shoulder blades that were abandoned by me have become my favorite. Comrades, let's learn how to chew on the pig.

Thanks to the csdn.net plmm2004 and all the users who posted the post.
Original post:
Http://community.csdn.net/Expert/topic/3398/3398715.xml? Temp =. 9519007.

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.