Code optimisation and clarity