Re: Try/Catch
- Posted by Ekhnat0n Feb 13, 2015
- 4220 views
dcuny said...
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
I meant tracking the error myself and correcting it b4 releasing it
Antoine