Beautiful Architecture
The pattern turns the pas de deux between the application (classes such as CLIENT) and the existing types (such as T_TARGET for ...
accept* taxi_visittram_visit** Overall visitor a structure ... ... ... VISITOR CLASSES F_VISITOR VISITORCOST_ SUGAR_VISITOR acce ...
More worryingly, the class explosion, with numerous miniature F_VISITOR classes embodying a very specific kind of knowledge (a ...
mark suffices, as in agent x.f (?, v). This also indicates that the original forms with all arguments open, agent f and agent x. ...
An Agent-Based Library to Make the Visitor Pattern Unnecessary The agent mechanism permits a much better solution to the problem ...
information that this is a routine applicable to fruit salads (from the signature fruit_salad_cost (fs: FRUIT_SALAD), also avail ...
found right away their proper place in the object-oriented arsenal; designers have no trouble deciding when they are applicable ...
answer to my questions about his classic paper were detailed and illuminating. The Visitor library discussed in the last part of ...
Meyer, Bertrand. 2004. “The power of abstraction, reuse and simplicity: An object-oriented library for event-driven design.” Fro ...
...
C H A P T E R F O U R T E E N Rereading the Classics Panagiotis Louridas IT SEEMS THAT IN ALL SCIENTIFIC FIELDS THERE ARE WORKS ...
on the subject revolve around the design patterns presented in that book. Without dismissing the others, it is the 32 patterns p ...
class, which had nothing to do with a C++ class. With the new frameworks, you needed only to create a subclass of a class provid ...
languages; some of those that we do not see give us reason to pause and reflect on the reasons why. We do not assume any prior k ...
The classics are books that exert a peculiar influence, both when they refuse to be eradicated from the mind and when they conce ...
It is instructive to examine how this code works. allSelectors is a class selector that does what its name suggests. It returns ...
ProtoObject 35 Object 469 Magnitude 477 Number 575 Integer 662 SmallInteger 670 FIGURE 14-1. SmallInteger hierarchy Determine t ...
defined by the receiver and the argument. Although pithy, this is not the most optimal solution; Squeak provides an alternative ...
Blocks also give us a basic error-handling functionality, the idea being that we specify blocks to be executed when something go ...
http://www.python.org/dev/peps/pep-0253/)..) Template metaprogramming in C++ is a rather different approach: we use the fact tha ...
«
13
14
15
16
17
18
19
20
21
22
»
Free download pdf