in reply to Re^2: Inherit from a Role (or something like that)
in thread Inherit from a Role (or something like that)
So, Server and Client (or their base class) "has" (not "is"!) a Connection. A Connection may be different concrete classes, or may be a single class that "has" a BackEnd. Note that in Perl you are more flexible in not having to define an "Interface" or have explicit base/derived relationships. Each concrete class can be implemented in any way it likes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Inherit from a Role (or something like that)
by elTriberium (Friar) on May 21, 2011 at 00:15 UTC | |
by John M. Dlugosz (Monsignor) on May 21, 2011 at 12:41 UTC |