Even today they often type the barcode faster in than it can be recognized.
For inventory control and price accuracy you get the same advantages as with barcode, but you can be faster and work without a barcode reader.