Re: [BLACKBOX] Storing an extended object

From: F.V.Tkachov <"F.V.Tkachov">
Date: Wed, 12 Nov 2008 11:46:17 +0300

----boundary-LibPST-iamunique-334010550_-_-
Content-type: text/plain

> Thank you all for your suggestions.
> I will now mull over which is the best way.

> -Doug Danforth

Either what Robert suggested, or derive Sub directly from Stores.Store,
making Base a component of Sub.

Theoretically (according to the theory in my head) the second option is
best (the two options may not be mutually exclusive 100%).

--
Joseph, composition vs inheritance was extensively discussed in this list, 
I believe before you joined in.
My conclusion from it was:
extend only from ABSTRACT types,
replace methods that are expected to be supercalled by regular procedures,
no EXTENSIBLE anything, only ABSTRACT or EMPTY,
no procedure variables,
and in general use composition with non-ABSTRACT items.
cheers
fyodor
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-334010550_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gVGhhbmsgeW91IGFsbCBmb3IgeW91ciBzdWdn
ZXN0aW9ucy5ccGFyDQo+IEkgd2lsbCBub3cgbXVsbCBvdmVyIHdoaWNoIGlzIHRoZSBiZXN0IHdh
eS5ccGFyDQpccGFyDQo+IC1Eb3VnIERhbmZvcnRoXHBhcg0KXHBhcg0KRWl0aGVyIHdoYXQgUm9i
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JMQUNLQk9YIiB0byBMSVNU
U0VSVkBMSVNUUy5PQkVST04uQ0h9fQAaAAAA
----boundary-LibPST-iamunique-334010550_-_---
Received on Wed Nov 12 2008 - 09:46:17 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:51 UTC