3 ms·
Making Rectangle a child of Square would violate the principle, because code that works correctly for squares might not work correctly for rectangles in general
by brlewis 6y ago
Making Rectangle a child of Square would violate the principle, because code that works correctly for squares might not work correctly for rectangles in general.