Skip to content

Commit

Permalink
fix shallow module
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed May 31, 2023
1 parent 77cb97a commit 56947af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -53,8 +53,8 @@ Prefer composition over inheritance. We won't go into detail - there's [plenty o
Mantras like "methods should be shorter than 15 lines of code" or "classes should be small" turned out to be somewhat wrong.

**Shallow module** - complex interface, simple functionality
**Deep module** - simple interface, complex functionality
**Shallow module** - interface is relatively complex to the small functionality it provides

![Deep module](/img/deepmodulev3.png)

0 comments on commit 56947af

Please sign in to comment.