More robust against bad code