Base classes over interfaces? #103
Labels
Area: Mapping
Relates to one of the `ITopicMappingService` interfaces or implementations.
Area: Repositories
Relates to the `ITopicRepository` interface or one of its implementations.
Priority: 2
Severity 2: Major
Status 0: Discussion
Needs further evaluation of requirements and prioritization.
Type: Improvement
Improves the functionality or interface of an existing feature.
Milestone
In Section 4.3 of The Framework Design Guidelines, the authors make a compelling argument for using base classes over interfaces for cases where polymorphism or multi inheritance aren’t needed. This applies effectively to e.g.,
ITopicRepository
(which already has a base class) and possibly theTopicMappingService
s.If so, should we consider changing this for OnTopic 6.x? This would be a major breaking change, but it would also afford us a more stable foundation to build off of in the future.
The text was updated successfully, but these errors were encountered: