Skip to content

docs: add interface vs abstract class guideline#24384

Open
Artur- wants to merge 1 commit into
mainfrom
api-design-principles
Open

docs: add interface vs abstract class guideline#24384
Artur- wants to merge 1 commit into
mainfrom
api-design-principles

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 20, 2026

Capture the rule that interfaces should only be introduced alongside an abstract class when there is a worked example of using the interface without the abstract class, name the class Xyz unless an interface is also present, and avoid sealed interfaces that permit only a single abstract class.

Capture the rule that interfaces should only be introduced alongside
an abstract class when there is a worked example of using the
interface without the abstract class, name the class Xyz unless an
interface is also present, and avoid sealed interfaces that permit
only a single abstract class.
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Test Results

 1 411 files  ±0   1 411 suites  ±0   1h 20m 29s ⏱️ + 1m 54s
 9 957 tests ±0   9 888 ✅ ±0  69 💤 ±0  0 ❌ ±0 
10 432 runs  ±0  10 361 ✅ ±0  71 💤 ±0  0 ❌ ±0 

Results for commit c5321cf. ± Comparison against base commit 03ce00f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant