Polymorphism
Applies to: general, cpp, python
Polymorphism means code can work through a common interface while the actual object chooses the behavior at run time.
Sensor& s = lidar;
double d = s.read();
See also: inheritance, virtual-function, interface