add new deep module image

This commit is contained in:
Artem Zakirullin
2024-11-09 13:47:16 +02:00
parent adab2a1054
commit 737ee0fc9e
3 changed files with 1 additions and 1 deletions

View File

@@ -106,7 +106,7 @@ Mantras like "methods should be shorter than 15 lines of code" or "classes shoul
**Deep module** - simple interface, complex functionality
**Shallow module** - interface is relatively complex to the small functionality it provides
![Deep module](/img/deepmodulev7.png)
![Deep module](/img/deepmodulev8.png)
Having too many shallow modules can make it difficult understand the project. **Not only do we have to keep in mind each module responsibilities, but also all their interactions**. To understand the purpose of a shallow module, we first need to look at the functionality of all the related modules. `🤯`

BIN
img/deepmodulev8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

BIN
img/deepmodulev8paper.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB