Skip to content

Commit

Permalink
Extend interface is an agreement slide #21
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Oct 9, 2024
1 parent 6ec02b3 commit 40f252f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lectures/09_interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,18 @@ an interface is a shared boundary across which two or more separate components o

## interface is an agreement

![](figures/publicdomainvectors/business-handshake-hands.svg){width=500}
:::::::::::: {.columns}
::::::::: {.column width="55%" .mt-4}
- how a module / component will work
- so as long as the agreement is complied the components do not need to know about the internal structure/work of the other components
- separation of concerns
- single responsibility principle

:::::::::
::::::::: {.column width="45%"}
![](figures/publicdomainvectors/business-handshake-hands.svg){width=500}
:::::::::
::::::::::::

#

Expand Down

0 comments on commit 40f252f

Please sign in to comment.