Should constructors comply with the Liskov Substitution Principle? [closed]
No, when you use a constructor you know you are dealing with the subtype. This allows you to have preconditions not required for the parent constructor such as other parameters. This is why in most languages the constructor name is that of the class being created. A good example of how this is that a … Read more