Code and the imagination of people

Source: Internet
Author: User

 Burst: The human body as a program

People have all kinds of organs, each organ has different functions--everyone is a product-level program, each organ is a different function module, according to different design patterns combined into a whole.

Sense: The human body is so complex, this structure is too cow B.

Lenovo: Human organs are composed of different cells, the cell is the smallest unit of the program, because it is an entity, each cell as an entity object.

Whim: The difference between species is that there is a huge difference in DNA, and each individual has a relatively small difference in DNA, so each species corresponds to a base class, each of which inherits from its own base class, roughly similar to each other, and the details are rewritten in the same way, with no DNA identical to two people, very unique ID.

Extension: All the intracellular DNA of a person is the same. Assume that each class contains all the metadata for the class, and that each entity object of the class contains the same class information. So DNA is both the ID value and the meta-data of the human class. Now that you can create such a magical program, leaving object-oriented programming, YY the future of programming: An entity program has its unique ID, which is also the program's element, contains all the structure of the program and value.

The process created by the program->xx combined, generated the unique ID of the DNA, the program starts from domain (), the cell begins to split, the process-oriented execution of the cell division process, each cell contains the element, the inverse of the meta-data and even contains different objects (cells) Create the quantity and location information.

Branch 1: Gene mutation, cancer cell---When an object is created, the element loses some of its data, such as when it loses information about when it splits, causing cells to break apart.

Branch 2: A program requires a database or variable to store data, functions to manipulate the data how to operate a functional organ is a table, each cell is a data in the table, the metadata (DNA) contains all the additions and deletions of the table function and execute the organ all function functions, enter the command mode: Command initiator--brain, command to pass the nerve, the performer----the muscle, here is also the cache: Reflex (Raven speed QA do not need to think), where should exist? There are also many spontaneous behaviors (heartbeats) that do not require brain control to be self-operating by default, but also by the behavior of the brain commands (breathing).

  Branch 3: Life cycle--theoretically the program can live forever. However, the data is stored on the disk, and the disk is always useful when it is bad. The server energy comes from the electricity, the human energy comes from the food (oxygen does not know calculate), the blood vessel and so on. The food is always there, and the cell (data) splits itself Can generate new cells, shed the old cells, their own dynamically managed media (cell-to-disk), if the food has been supplied, theoretical data can always exist. and the Elemental (NDA) will replicate with the cell division, and if the program writer is human, then the technology of this cow B will be written as a dead loop. Constant access to food and control of the number of cells within a constant range. As long as there is no accident, it is really immortal (get the world that we do not know). Back to the human, the heart rate to a large extent determines the life expectancy, the heartbeat accelerates, the blood circulation accelerates, the cell receives the energy faster, the division quicker, Assuming that the number of cell divisions is capped (old age after organ aging, this hypothesis should be true), the number of divisions is the determinant of longevity. Branch 1: The program author dictates that the split cap->dna so magical that the maximum number of guesses is in the DNA, the cell splits every time, and the variable splits. The number of times is 1. In children, the skeletal toughness is poor, and the old bone toughness difference->dna the proportion of trace elements absorbed in the cell division according to the number of cell divisions. Think about this function seems very boring, from the program itself is not necessary. Branch 2: Negative DNA Control Division number, That can only be the composition of the cell fundamentally limits the number of divisions, (Biology did not learn anyway is cranky), the cell in addition to DNA does not seem strange, this pot on his back bar, that is, metadata (DNA) of the number of replication limitations, and further from the children to the elderly cells in different states, That is, the proportion of cell composition is related to the number of copies of DNA, guessing that the DNA will not acquire new elements to supplement themselves (the actual code of this important thing to protect), but the DNA is directly divided (in two, two, four elephants, four elephant gossip), then the imagination of DNA at the beginning of a large size- >CPU (single-core monolithic) is very high frequency, the cell performs certain functions of the method quickly, some functions run very high frequency (each cell in its life cycle function)---the cell state is determined by the size of its DNA, this speculation is more reliable point, It also explains the inability of a function to run only half a block of code when the DNA cannot continue to split or split. Extension: The program author gave up human immortality in order to protect the core code (DNA), but he used another design pattern (yy) to achieve the immortality of the DNA, Since the volume of DNA is fixed and cannot be modified, it is possible to add two 1/2-volume DNA. The cell division was faster in the early years, and the cell division was slow in old age.The number of cell divisions at age 20 was the upper limit of 1/2, so the resultant DNA size was the same as the original DNA size of the parent (both 20 years old and the initial DNA size). Theoretically, life is the same. Because DNA is magical, he manages the time rules for Estrus, So when DNA splits 1/2, DNA starts to heat up ... (Late marriage childbearing is not wrong hehe). Continue yy, since the size of the DNA determines the proportion of the elements of the cell, it is not the same age of two people the larger the DNA, the more soft bones, the corresponding longer life, of course, the greater the DNA division faster, DNA should also have a self-regulating function it.

Branch 4: Inspiration ran away, not caught.

is not to write code of the person's brain always do not listen to stop, special is always automatic unrestrained various wonderful things, just blog about wood, and the introduction of the cranky from the design patterns and people, send an article. I'm going to be a programmer who dares to innovate.

Code and the imagination of people

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.