3 ms·
Reading that made me cringe. I'd make the `Tire` class derive the `SteeringWheel` class, and `Tire::turn()` moves the car while `SteeringWheel::turn()` steers
by shrimp_emoji 3y ago
Reading that made me cringe.
I'd make the `Tire` class derive the `SteeringWheel` class, and `Tire::turn()` moves the car while `SteeringWheel::turn()` steers the car.