wood burning stoves 2.0
The moose likes OO, Patterns, UML and Refactoring and the fly likes Liskov Substitution Principle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Liskov Substitution Principle" Watch "Liskov Substitution Principle" New topic

Liskov Substitution Principle

Sania Marsh
Ranch Hand

Joined: Jul 12, 2004
Posts: 469
Hi, is there anyone here who can explain and answer some questions on LSP?

I keep trying to read about it on the internet, but it doesn't make much sence..
I guess I want someone to try and explain it before I ask the questions, chances are I'm just understanding it wrong, so don't want to confuse with my questions.
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Yes, I'm sure there are a number of people here who could help you - including me...

But I doubt I could explain it any better than Uncle Bob: http://www.objectmentor.com/resources/articles/lsp.pdf

If that article leaves any questions open, on with it!

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link: http://aspose.com/file-tools
subject: Liskov Substitution Principle
It's not a secret anymore!