Improving message recipient sophistication #1022
mwpowellhtx
started this conversation in
Ideas
Replies: 1 comment
-
|
I currently use the opposite of what that idea would like to do. I use derived classes, sometimes without any changes, in order to have a different message than the base message, when the receiving function is called too often as it isn't precise enough. So this idea would break this current behaviour and another alternative would need to be used |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The use case, something like message
A, messageBderived fromA. I'd like toIRecipient<A>, and respond to eitherAorBinstances, as the case may be. However, it seems I need to specificaly implementIRecipient<B>. How "easy" (big air quotes) would it be, perhaps, to improveIMessengerallowing for anAorBorNth_degreeclass hierarchy. Obviously that is the naive academic ask; by extension anything in theBhierarchy, for example. In broader patterns discussion, homogenously sending messages, based anywhere in a given class hierarchy, allowing for a potentially heterogeneous recipient, i.e may find receiving either anAor aBorNfor that matter.Beta Was this translation helpful? Give feedback.
All reactions