MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

Encapsulation and SOLID

Course Summary

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

  • +

    Course Syllabus

    ● Course introduction
        ◦ Introduction
    ● Encapsulation
        ◦ Introduction
        ◦ Reusable Components
        ◦ Most Code Sucks
        ◦ Example: Code That Sucks
        ◦ Why Care About Code That Sucks?
        ◦ Classic OO Definition of Encapsulation
        ◦ Alternative Encapsulation Techniques
        ◦ Commands and Queries
        ◦ Queries
        ◦ Commands
        ◦ CQS Makes it Easier to Reason About Code
        ◦ Postel's Law
        ◦ Input
        ◦ Nullable References Are Evil
        ◦ Fail Fast
        ◦ Output
        ◦ Tester/Doer
        ◦ TryRead
        ◦ Maybe
        ◦ Synthesis
    ● The Single Responsibility Principle
        ◦ Introduction and Motivation
        ◦ The Five SOLID Principles
        ◦ Refactored Sample Problem Class
        ◦ Single Responsibility Principle
    ● The Open Closed Principle
        ◦ SOLID Concrete
        ◦ The Open Closed Principle
        ◦ Refactoring the Example Code Towards the Open Closed Principle
    ● The Liskov Substitution Principle
        ◦ Append-Only
        ◦ The Liskov Substitution Principle
        ◦ Breaking the LSP: Removal of Features
        ◦ Refactoring the Code Toward the Lisko Substitution Principle
    ● The Interface Segregation Principle
        ◦ SOLID Is not it
        ◦ The Interface Segregation Principle
        ◦ Refactoring the Code Toward the Interface Segregation Principle
        ◦ Refactoring With ISP
    ● The Dependency Inversion Principle
        ◦ Next Step: Functional
        ◦ Favor Composition Over Inheritance
        ◦ Composite
        ◦ Decorator
        ◦ Refactoring the Read Example Method to a Decorator
        ◦ Final Clean-Up
        ◦ SOLID Summary
    ● The Coffee Maker Code Example
        ◦ Introduction to the Coffee Maker Code Example
        ◦ Coffee Maker Problem Statement
        ◦ Demo Introduction
        ◦ Demo: Coffe Maker Example Implementation
        ◦ Demo Recap
        ◦ Course Conclusion


Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Development & Implementations Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top