How to Violate SOLID Principles in many ways

Violating Liskov’s substitution principle:

Case 1:
How strengthened pre-condition breaks applications:

Case 2:
How weakened post-condition breaks applications




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to pass Professional Scrum Master (PSM I) & Professional Scrum Product Owner…

What Kind of Web Developer Should You Be?

Testing Unity WebGL Build On Your PC Before Uploading

Stay connected to your team from home with new mobile apps for group email

DP is easy — Part-3

RoCET — Remote Code Execution Tool

The New World of Microsoft Enterprise Asset Management: Easier, Cheaper, and Faster with Dual-Write

Dear HR, Software Development Interviews are Broken

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Berkin Tatlısu

Berkin Tatlısu


More from Medium

MVVM for iOS

UIView File Structuring

Design Code for Unit Testing

iOS — Intro to Protocols