Opened 5 years ago

#6382 enhancement new

implement reactors using composition instead of inheritance

Reported by: Jean-Paul Calderone Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author:

Description

It is well known that composition is superior to inheritance. The reactor implementations all use a ton of inheritance all over the place, both in the reactor objects themselves and in many of the related objects (eg the transports).

It would be a great maintainability win to create these objects with composition instead.

Attachments (1)

foo.py (1.3 KB) - added by Jean-Paul Calderone 5 years ago.
Some code that might be interesting to people interested in this ticket perhaps

Download all attachments as: .zip

Change History (1)

Changed 5 years ago by Jean-Paul Calderone

Attachment: foo.py added

Some code that might be interesting to people interested in this ticket perhaps

Note: See TracTickets for help on using tickets.