mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 23:32:42 +01:00
Update wikipage Event Programming with Agents. (Signed-off-by:bmeyer).
git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1920 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -7,9 +7,9 @@ The implementation of agents is an advanced topic, but you do not have to unders
|
||||
|
||||
==Objects that Represent Operations==
|
||||
|
||||
Object technology is based on the idea that when we model real world objects, we model them based on the things that they have and what they can do ... their properties and their operations. The operations in Eiffel are the routines, i.e., the functions and procedures, of classes. Operations are not objects.
|
||||
Object technology is based on the idea that when we model systems based on objects, representing the "things" they manipulate. As to operations on these objects, they appear in the corresponding classes, as routines (functions and procedures). Operations are not objects.
|
||||
|
||||
Having said that, it is sometimes desirable for us to model operations. We do this in the same fashion that we model other concepts: statically as classes, and as objects at runtime.
|
||||
Sometimes, on the other hand, the "things" we model with our objects could represent operations. For example, We do this in the same fashion that we model other concepts: statically as classes, and as objects at runtime.
|
||||
|
||||
An object that represents an operation is called an agent.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user