From 58556421c0eeca536c7613534ab37336088ba697 Mon Sep 17 00:00:00 2001
From: MiniPiku <21parthib2006@gmail.com>
Date: Fri, 28 Feb 2025 00:56:48 +0530
Subject: [PATCH] rephrasing '### DO use class modifiers to control if your
class can be an interface'
---
src/content/effective-dart/design.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/content/effective-dart/design.md b/src/content/effective-dart/design.md
index 20bc8c32c3..e923c3d1ec 100644
--- a/src/content/effective-dart/design.md
+++ b/src/content/effective-dart/design.md
@@ -631,11 +631,11 @@ Use these modifiers to communicate your intent, rather than relying on documenta
### DO use class modifiers to control if your class can be an interface
-When designing a library, use class modifiers like `final`, `base`, or `interface` to enforce intended
-usage. For example, `final class C {}` prevents implementation, while `interface class D {}`
-explicitly allows it. While it's ideal for all libraries to use these modifiers to enforce design intent,
-developers may still encounter cases where they aren't applied. In such cases, be mindful of
-unintended implementation issues.
+While class modifiers like `final`, `base`, or `interface` help enforce intended
+usage, not all libraries may use them consistently. As a result, developers may
+still encounter classes that are not explicitly restricted but were not designed
+for implementation. Be cautious when implementing such classes to avoid potential
+issues with future changes.