Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fc27afb

Browse files
Add LoD
1 parent 07d9641 commit fc27afb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎Courses/Architecture-2025.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,14 @@ Additional topics:
6060
- https://github.com/HowProgrammingWorks/Command
6161
- [Serverless Clouds (FaaS) и изоляция контекстов запросов в Node.js](https://youtu.be/x-Rd6fPV6L8)
6262
- Слайды: https://www.slideshare.net/tshemsedinov/serverless-clouds-faas-and-request-context-isolation-in-nodejs
63+
64+
## Additional topics
65+
66+
- Law of Demeter (LoD) - Principle of Least Knowledge or Don't Talk to Strangers
67+
- Low Coupling (LC): The goal of LoD is to reduce coupling by reducing the knowledge of a class about other classes.
68+
- Tell, Don't Ask/Information Expert (TdA/IE): LoD is more specific than TdA/IE because TdA/IE can be applied in a wider context (e.g. for responsibility assignment). Applying TdA leads to solutions which are good according to LoD. Note that the reverse is not true: Accoring to LoD you may get and set values from an object passed as a parameter to a method.
69+
- A method of an object should invoke only the methods of the following kinds of objects:
70+
- itself
71+
- its parameters
72+
- any objects it creates/instantiates
73+
- its direct component objects

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /