Re: Try/Catch
- Posted by dcuny Feb 13, 2015
- 4084 views
Ekhnat0n said...
try/catch It doesn't replace good coding practices.
But once the code is released, the end user is no longer the developer.
Users aren't beta testers, and shouldn't be treated as such.
The goal once the program is in production is to protect the user's data, and give them a fault-tolerant experience, as far as possible.
Writing solid code is key to reducing errors.
But there will be exceptions, and it's completely unacceptable to users that their programs crash and display error codes when that happens.
- David