Re: Databases as objects



"topmind" <topmind@xxxxxxxxxxxxxxxx> writes:
Patrick May wrote:
"topmind" <topmind@xxxxxxxxxxxxxxxx> writes:
Neo wrote:
If you take away inheritence, you get "network structures"
(AKA tangled pasta). Dr. Codd sought to escape those by
applying set theory, and network structures thankfully fell
out of favor, until the OO crowd tried to bring them back
from the dead.

Can you give an example of such as tangled pasta?

OO Visitor pattern.

The Visitor pattern provides two capabilities: 1) simulation
of double dispatch and 2) non-intrusively adding new operations to
existing classes. Both of these address limitations of languages
such as C++ and Java. The existence of this pattern does not
demonstrate a general flaw in the object oriented approach.

How about you Visitor defenders present a somewhat practical biz
example where Visitor allegedly makes maintenence easier.

Non-sequitur. I never claimed to be a "fan" of the pattern, nor
did I assert that it makes maintenance easier. I merely pointed out
the reasons for using it and provided an example of the context in
which it applies. My only purpose was to demonstrate that your use of
this pattern to support your contention that OO techniques result in
"tangled pasta" is without merit.

Sincerely,

Patrick

------------------------------------------------------------------------
S P Engineering, Inc. | Large scale, mission-critical, distributed OO
| systems design and implementation.
pjm@xxxxxxx | (C++, Java, Common Lisp, Jini, middleware, SOA)
.



Relevant Pages

  • Re: Databases as objects
    ... Can you give an example of such as tangled pasta? ... The Visitor pattern provides two capabilities: ... I don't care how you kick its ass, just do it and show it. ...
    (comp.object)
  • Re: Visitor pattern, code generation and additional sub classes
    ... I think either I'm misunderstanding you, or you misunderstand the visitor pattern. ... That way I could load the plugin ... Is my solution to use delegation inside of the visitor pattern another ...
    (comp.object)
  • Re: Databases as objects
    ... The Visitor pattern provides two capabilities: ... that your use of this pattern to support your contention that OO ... you could simply admit to Neo that you cannot ...
    (comp.object)
  • Re: Visitor-patter
    ... You need GnuPG to verify this message ... A quick search for visitor pattern Java gave me the following as a ... visitors pattern, I wanted something more.. ... but the visitor pattern isn?t covered in it (only very briefly in ...
    (comp.lang.java.help)
  • Re: Databases as objects
    ... The Visitor pattern provides two capabilities: ... that your use of this pattern to support your contention that OO ... There are no real rules for when to use what GOF pattern, ...
    (comp.object)