Refactor handling of default parameters in method overloads #105
Labels
Priority: 1
Severity 2: Major
Status 2: Scheduled
Planned for an upcoming release.
Type: Improvement
Improves the functionality or interface of an existing feature.
Milestone
In “Framework Design Patterns”, under 5.1 “General Member Design Guidelines”, the following recommendations should be followed:
This is inconsistent with how OnTopic is written, which typically relies on one method with default parameters, even in interface and virtual methods. To mitigate this, we should implement explicit, non-virtual overloads for methods with default parameters.
For interfaces, these can be implemented as default implementations so that they don’t break existing implementations, nor require support for future implementations.
The text was updated successfully, but these errors were encountered: