Liskov Substitution Violations (OOP)
Imagine you have two classes. A parent and a child class. The child inheritance from the parent. Therefore the child should be able to do everything that a parent does and possibly more.
Rails, Tekla Open API, AutoDesk .NET
Imagine you have two classes. A parent and a child class. The child inheritance from the parent. Therefore the child should be able to do everything that a parent does and possibly more.
Last post we looked at dependencies and isolating them. This post we are going to work through some exercises.
Managing Dependencies
In a post a few weeks back I was griping about the limitations of Tekla. Ideally Iād want to resort to enums to get access to a particular property. But Tekla forces you to use strings directly to query for the property you are after. This is a minor inconvenience. So I devoted three hours of my life in the service of the public to ensure that nobody suffers anymore.
So I have a JSON string that I want to parse into a JSON object: