mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 12:16:46 +00:00
docs: update abstract document readme
This commit is contained in:
1 parent
8d74b3eb40
commit
6f8a95debd
1 file changed
+4
-3
@@ -210,7 +210,9 @@ types of documents or entities with shared and distinct attributes. By defining
|
|||||||
across various document types, you can achieve a more organized and consistent approach to handling complex data
|
across various document types, you can achieve a more organized and consistent approach to handling complex data
|
||||||
structures.
|
structures.
|
||||||
|
|
||||||
## Benefits
|
## Consequences
|
||||||
|
|
||||||
|
Benefits
|
||||||
|
|
||||||
* Flexibility: Accommodates varied document structures and properties.
|
* Flexibility: Accommodates varied document structures and properties.
|
||||||
|
|
||||||
@@ -220,8 +222,7 @@ structures.
|
|||||||
|
|
||||||
* Reusability: Typed views enable code reuse for accessing specific attribute types.
|
* Reusability: Typed views enable code reuse for accessing specific attribute types.
|
||||||
|
|
||||||
|
Trade-offs
|
||||||
## Trade-offs
|
|
||||||
|
|
||||||
* Complexity: Requires defining interfaces and views, adding implementation overhead.
|
* Complexity: Requires defining interfaces and views, adding implementation overhead.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user