I will say an example: on an ideal ant hunting area, as follows: *********** | | | | | ---------- -------
The ants are departed from the bottom line, and the food is pushed to the terminal. & A ant can be promoted, # 要 要. Please give the ant wisdom! I will say: "1) Go forward. 2) In case of food, more than 5 seconds The left is left, and the people will be stopped. 3) Do not die, touch the wall to the left. Take the push to return to the initialization after time T. This is self-organized. Since it is easy to survive! Of course, for competition Strategies population ants will have different T. (there are different winners for different food cycles.) This is a small fresh example.
You can see this is a thinking, that is, the industrialized software road is feasible. The idea and organization of the project can come out of a road in intelligence-intensive software production, but the specific method is not self-organizing, although it seems to be the same. Now, in addition to intuitive sensory, we still need to analyze more deeper, Ding Ding is good! So some of the ideas and fresh information will be given below.
A new programming language 1): Evenopaire-oriented programming, should be "concept" programming, each "concept" transition as the division boundary of the module, the transition operation is done by "message". 2): Use the "message" to complete its implementation using the "message". Light cycles are still classified into basic code blocks. 3): Transform the type of variable, and the internal impact between the same type, and the module attribute value, as "message" implementation. 4): The operation is also implemented by "message". The technical route is: use multi-threaded multi-thread as a means of multi-application and exchange file under Windows or Linux, and will go to "object" to "concept" programming; to reserve the setting of the global variable, the corresponding supplementary keyword processing function. 1): The implementation is as follows: List the important concepts involving automation and manual operations, and a conceptual operation is implemented in a module. The message is used to implement the internal impact of the Turnnews and the interaction (Effictnews) and the same type, and there is a module property value transition (AttributeNews).
2): The implementation is as follows: Heavy loop refers to an automated operation covering different "conceptual modules", using if for for & nextendflag = true dam = true; processing functions and cyclic messages. Go ... TO is the same.
3): The implementation is as follows: Write a message table, using the index message to trigger a message. SIMAPLE: 101; / * The function for news. * / Compile to TC2.0 *. 加 When you add a keyword handler to the source file, process the message and issue a message to implement message processing. . 4 :) The implementation is as follows: The transformation of the message implementation concept is issued in the module and affects the completion of the program. Key: a): The program function is achieved by the transformation and impact of the concept. Messages are widely used as a means of packaging and isolated. B): VC and other weight type language is too complicated so uncontrollable. Use the TC2.0 lightweight language to separate the module boundary. C): As long as the file is written, you can obtain and display data, you can compatible with the C under Linux. Use the file to exchange data and messages, can operate in parallel.
Modeling Example: First use the object-oriented method The coffee machine is composed of the following components, there is a PIA (programmable interface adapter), as well as a CoffeeMaker, and SIMULATION (driver). Plus GUI. Use the conceptual method PIA with switches A, B, C "concept", CoffeeMaker has coffee beans, power, water "concept", Simulation has electrical energy, switch E, F, G "concept", the coffee maker The circulating water will be realized by a suitable "water cycle" giant cycle message. Jump is achieved by "GOTO" message. PIA Switches A, B, and C "Concept" "Press" will generate an important PressTrue message, which changes the concept "Simulation Switch E, F, G Concept" to TRUE. The main function is as sufficient to handle the message. It can be described as "a lot of benefits!"
Jump new solution: COPY jump until the end of the area, in the same area: if 0 == 0 Then "Copy" ELSE IF
According to this proposal: All goto jumps can be rewritten as a post-jump.
庖庖 's cattle should also be present in the mind. Next analysis:
The road of industrialization, Microsoft did did, if you want to delete the previous saved chicken rib when you save your file, you can press Shift Del in the Save Dialog in the Save Dialog box, this is the technology of the big factory without hesitation. Delivered to the carefully designed, increasingly simple. (More likely, Bill's dog is transported. But before reaching a big factory, died of endless plants, no matter whether he is disciplined. But in the successful person of the normal distribution, this is an inevitable phenomenon.
My own, C 's idea is just a logic of logic, and the logic of industrial production is directly directly. So the next generation of "class" should be a class of logical packages suitable for industrial to obtain freedom, form, and division of labor and time series!
The Chinese software should be in line with the products of industrial production, not crafts, otherwise they will only be like Chinese silk fabric and Western woven. When the times are in front of you, you will only regret! Let's get up! Let's get up! Let's get up! Author: Sheng-wave unit: Harbin University of Science and Control 98