Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo in en/11-three-programming-paradigms.md #29

Merged
merged 1 commit into from
Nov 1, 2024
Merged
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
2 changes: 1 addition & 1 deletion en/11-three-programming-paradigms.md
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ Structured programming vs. OO programming vs. Functional programming
2. OO programming is discipline imposed upon indirect transfer of control.
1. Capsulation, inheritance, polymorphism(pointers to functions) are not unique to OO.
2. But OO makes polymorphism safe and convenient to use. And then enable the powerful ==plugin architecture== with dependency inversion
1. Source code denpendencies and flow of control are typically the same. However, if we make them both depend on interfaces, dependency is inverted.
1. Source code dependencies and flow of control are typically the same. However, if we make them both depend on interfaces, dependency is inverted.
2. Interfaces empower independent deployability. e.g. when deploying Solidity smart contracts, importing and using interfaces consume much less gases than doing so for the entire implementation.