L is for the Liskov Substitution Principle

The 3rd article in a series on SOLID principles and how they apply to Android/Java development. The 3rd principle states that “if S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties of that program”. The post includes code samples too.
https://realm.io/news/donn-felker-solid-part-3/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s