Re: D5 - Class\Collection example??
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Mon, 15 Oct 2007 09:12:07 +0200
Don <don81846 wrote:
Of course my example of a collection of wives was to be funny but the
substance of your points are well worth considering when designing an
object heirarchy. It's hard to anticipate all the possible twists and
turns.
Real life is almost as it never should be. I remember a friend, which found a problem in the design of his program, and all customers asserted, that this case never will happen. Until the first field test proved the opposite :-(
Thanks to Tom and all that responded. It will help me understand the
Delphi way.
The sketched solutions are not really Delphi specific. Nobody mentioned the possible problems when using Delphi interfaces, with reference counting. Regardless of the object model, establishing connections between objects often is the easier part, and trouble starts when the relations have to be broken, later. I remember an ListView in a VB program, where it took 8 minutes to add 1600 records on my DX-100, and 15 minutes when the program terminated, and the entries were distroyed. Fortunately the next version of the Windows common controls had a better design, with no noticeable time for the destruction of the ListView.
DoDi
.
- References:
- D5 - Class\Collection example??
- From: Don
- Re: D5 - Class\Collection example??
- From: Tom de Neef
- Re: D5 - Class\Collection example??
- From: Maarten Wiltink
- Re: D5 - Class\Collection example??
- From: Hans-Peter Diettrich
- Re: D5 - Class\Collection example??
- From: Don
- D5 - Class\Collection example??
- Prev by Date: Re: D5 - Class\Collection example??
- Next by Date: Re: D5 - Class\Collection example??
- Previous by thread: Re: D5 - Class\Collection example??
- Next by thread: Re: D5 - Class\Collection example??
- Index(es):
Relevant Pages
|