Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions 8_Boundaries/8_Boundaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,13 @@ and type management is handled inside the Sensors class.
This interface is also tailored and constrained to meet the needs of the application. It
results in code that is easier to understand and harder to misuse. The Sensors class can
enforce design and business rules.
We are not suggesting that every use of Map be encapsulated in this form. Rather, we
//We are not suggesting that every use of Map be encapsulated in this form. Rather, we
are advising you not to pass Map s (or any other interface at a boundary) around your
system. If you use a boundary interface like Map, keep it inside the class, or close family
system ->
ما پیشنهاد نمی کنیم که هر استفاده از مپ در این فرم کپسوله شود بلکه ما
به شما توصیه می کنیم که نقشه (یا هر رابط دیگر در یک مرز) از اطراف سیتم خودتان خود عبور ندهید.
//
. If you use a boundary interface like Map, keep it inside the class, or close family
of classes, where it is used. Avoid returning it from, or accepting it as an argument to,
public APIs.

Expand Down