2 ms·
Imagine two solutions to a problem. One has a main procedure that orchestrates itself and other code to work things out and do things. This is the way most pe
by aryehof 10y ago
Imagine two solutions to a problem.
One has a main procedure that orchestrates itself and other code to work things out and do things. This is the way most people organize their problems into code.
The second is a set of independent intelligent concepts (objects) that work together to work things out and do things. The objects work together only by sending messages to each other. There is no central code orchestrating them into a solution.
If you want an example, consider two tennis players and a ball. How would your represent them hitting the ball to each other in code?