Re: Databases as objects




Patrick May wrote:
"topmind" <topmind@xxxxxxxxxxxxxxxx> writes:
Patrick May wrote:
"topmind" <topmind@xxxxxxxxxxxxxxxx> writes:
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.

Fine, pick another OO pattern and kick procedural/relational's ass
with it. I don't care how you kick its ass, just do it and show
it. Put your money where your mouth is and beat the hell of out of
me with OO.

You've got it backwards. You used the Visitor pattern in support
of one of your claims in your conversation with Neo. I simply pointed
out that it does not, in fact, support your argument. The burden of
proof is still on you to provide an example of OO techniques leading
to "tangled pasta".

There are no real rules for when to use what GOF pattern, especially if
there are competing factors. The rules of relational normalization are
governed mostly by duplication removal. All else being equal,
consistency trumps inconsistency.


Alternatively, you could simply admit to Neo that you cannot
support your assertion.

Sincerely,

Patrick


-T-

.



Relevant Pages

  • Re: Databases as objects
    ... Can you give an example of such as tangled pasta? ... The Visitor pattern provides two capabilities: ... example where Visitor allegedly makes maintenence easier. ...
    (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: Pointed in the right direction?
    ... Thanks for the response Walter. ... I am sort of familiar with what the pattern ... your question is how to use the Provider design ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework)