Uses named constants instead of literals.