Skip to content

Conversation

@theilgaz
Copy link

@theilgaz theilgaz commented Jun 2, 2021

Changed Rectangle to Rectangle[] in Good example for Liskov Substitution Principle (LSP).

Changed Rectangle to Rectangle[] in Good example for Liskov Substitution Principle (LSP).
Copy link

@dmitryvhf dmitryvhf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need more changes

}

Drawable RenderLargeRectangles(Rectangle rectangles)
Drawable RenderLargeRectangles(Rectangle[] rectangles)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, make same into 2080 line, for "Bad" example

@dmitryvhf
Copy link

Conflict PR - #75

@theilgaz
Copy link
Author

theilgaz commented Jun 2, 2021

Fixed "Bad" example #101

README.md Outdated
- [O: Open/Closed Principle (OCP)](#openclosed-principle-ocp)
- [L: Liskov Substitution Principle (LSP)](#liskov-substitution-principle-lsp)
- [L:
v Substitution Principle (LSP)](#liskov-substitution-principle-lsp)
Copy link

@dmitryvhf dmitryvhf Jun 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excessed change. And new error.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I use search filter to find faster, but then I see error. I fixed this in here.

Copy link

@dmitryvhf dmitryvhf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants