Older laptops use round barrel connectors in varying diameters and voltages with no negotiation protocol — a mismatch can damage the laptop, which is part of why USB-C’s standardized, self-negotiating design has largely replaced barrel connectors on new laptops.
Understanding which standard a device uses is the fastest way to know whether a specific charger or cable will actually work — connector shape alone isn’t always a reliable guide.