DEV Community

Discussion on: SOLID Principles: Write SOLID programs; Avoid STUPID programs

Collapse
 
jwp profile image
John Peters • Edited

In the United States, a cycle is not ever a car.

Therefore, this is a bad example for the United States, because it violates inheritance rule #1, do not ever violate 'is-a' relationships.