You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we restructured Adapter and subclasses so that we can put common functionality into Adapter, that delegates to subclasses' specific implementations, we could gain several useful features without duplicating across all adapters:
InstrumentKit uses an approach where in the base class there are concrete methods that delegate to abstract methods that are overridden by subclasses.
The concrete methods can have common functionality (like logging) in one place, so they can observe DRY.
The text was updated successfully, but these errors were encountered:
If we restructured
Adapter
and subclasses so that we can put common functionality intoAdapter
, that delegates to subclasses' specific implementations, we could gain several useful features without duplicating across all adapters:InstrumentKit uses an approach where in the base class there are concrete methods that delegate to abstract methods that are overridden by subclasses.
The concrete methods can have common functionality (like logging) in one place, so they can observe DRY.
The text was updated successfully, but these errors were encountered: