re: LSP

Raoul Duke <[email protected]>
Newsgroups gmane.comp.lang.scala
Message-ID <CAJ7XQb6Mnp6m4OxkJpXmT3rTK-54SxNdjQcrUoAKGKq_AgMxtA@mail.gmail.com>
> Regarding squares and rectangles--doing it the way you stated violates LSP.
> That there are oodles of OO tutorials that violate LSP with their very first
> example is depressing, though, and in a way is one of the most damning
> indictments of OO.  (Or maybe it's just a case of poor naming: real objects
> gain and lose properties willy-nilly, and our names for the various
> groupings violate LSP like crazy.



So LSP I thought was a nice idea, but not something that works out
well in reality due to the context-sensitive subjective weasel words,
"without altering any of the desirable properties of that program" :-)

-- 
You received this message because you are subscribed to the Google Groups "scala-language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.