Reducing use of dynamic allocation forecloses many errors.