Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: OO Pattern Container x Elements and Method Chaining (House, Person, Inhabitant)

by LanX (Saint)
on Oct 09, 2021 at 12:17 UTC ( [id://11137389]=note: print w/replies, xml ) Need Help??


in reply to Re^2: OO Pattern Container x Elements and Method Chaining (House, Person, Inhabitant)
in thread OO Pattern Container x Elements and Method Chaining

Too complicated!

(The Container holds Hierarchies and so called Attributes. A Hierarchy is a multi-tree of Elements. Elements and Attributes form a matrix (table) of Values.)

> oversimplification isn’t such a good idea.

SSCCE are

But the problem I described is generic and isn't inherent to above model.

    Method Chaining with member objects becomes troublesome if the model evolves and member objects start to belong to multiple containers.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: OO Pattern Container x Elements and Method Chaining (House, Person, Inhabitant)

Replies are listed 'Best First'.
Re^4: OO Pattern Container x Elements and Method Chaining (House, Person, Inhabitant)
by karlgoethebier (Abbot) on Oct 09, 2021 at 21:58 UTC
    «Too complicated!»

    Ja, ja. Programming on a mobile device is hard 🤪. BTW (and for further inspiration) you might take a look at Tree::MultiNode. Probably totally unrelated. But who knows. Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

      > you might take a look at Tree::MultiNode

      looked!

      > Probably totally unrelated.

      yep.

      Thanks, implementing Multitrees is not the issue here.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137389]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-24 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found