- Course
Encapsulation and SOLID
This course teaches how to write maintainable and flexible object-oriented code.
- Course
Encapsulation and SOLID
This course teaches how to write maintainable and flexible object-oriented code.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Learn how to write maintainable software that can easily respond to changing requirements using object-oriented design principles. First, you'll learn about the fundamental object-oriented design principle of Encapsulation, and then you'll learn about the five SOLID principles, also known as 'the principles of object-oriented design.' While this course is aimed at beginner to intermediate developers, it's based on decades of experience, so even advanced programmers can learn a thing or two. There are plenty of code examples along the way; while they're written in C#, they should be easily understandable to readers of Java or other curly-brace-based languages.
Encapsulation and SOLID
-
Introduction | 28s
-
Reusable Components | 1m 55s
-
Most Code Sucks | 1m 22s
-
Example: Code That Sucks | 3m 55s
-
Why Care About Code That Sucks? | 5m 17s
-
Classic OO Definition of Encapsulation | 5m 52s
-
Alternative Encapsulation Techniques | 3m 56s
-
Commands and Queries | 8m 8s
-
Queries | 4m 7s
-
Commands | 4m 14s
-
CQS Makes it Easier to Reason About Code | 1m 15s
-
Postel's Law | 4m 46s
-
Input | 5m 31s
-
Nullable References Are Evil | 2m 26s
-
Fail Fast | 3m 19s
-
Output | 10m 30s
-
Tester/Doer | 3m 43s
-
TryRead | 4m 56s
-
Maybe | 7m 47s
-
Synthesis | 8m 8s