By placing calculation methods within relevant classes, you ensure that logic is centralized, reducing duplication and potential errors. For instance, a `CartItem` should calculate its own line total, keeping all pricing calculations consistent and easy to update.
Additional Notes
Why should calculation methods be in classes like CartItem?