Use Exceptions Wisely

  • Use exceptions for error handling rather than error codes. Make sure to catch exceptions by reference to avoid slicing.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *