On Sat, 26 Nov 2022, 23:56 G. P. B., <george.bany...@gmail.com> wrote:
> > As all the invariants will be maintained in the child classes > > The invariant here is the immutability from a behavioural PoV. LSP has 100% been broken in that example. > >
On Sat, 26 Nov 2022, 23:56 G. P. B., <george.bany...@gmail.com> wrote:
> > As all the invariants will be maintained in the child classes > > The invariant here is the immutability from a behavioural PoV. LSP has 100% been broken in that example. > >