better error trapping?
#8
(01-07-2023, 03:38 AM)mnrvovrfc Wrote: Will have to wait for the "ON ERROR RESUME NEXT" to be implemented, and the requests will have to multiply including actual source code situations. To me that seems like another lazy way to program; it's dangerous to pass along signs of danger. Something like that must be all over Audacity which prevents it from loading much more than 20 wave files and, at least at my end, I have to log out and back in to regain control of my computer. Moreover, that program has a serious problem with the menu handler.

I guess it comes down to a difference in philosophy, but in my experience, there's nothing dangerous about being able to detect an error to take action. A try/catch beats out having no error handling and just letting your app blow up, every time. I can see no situation where you wouldn't want graceful error handling. In the very least, at least fix on error/goto, to enable it to goto a location in the same scope.
Reply


Messages In This Thread
better error trapping? - by madscijr - 01-06-2023, 06:57 PM
RE: better error trapping? - by SpriggsySpriggs - 01-06-2023, 08:07 PM
RE: better error trapping? - by madscijr - 01-06-2023, 09:29 PM
RE: better error trapping? - by SpriggsySpriggs - 01-06-2023, 09:42 PM
RE: better error trapping? - by madscijr - 01-07-2023, 03:34 AM
RE: better error trapping? - by mnrvovrfc - 01-06-2023, 11:22 PM
RE: better error trapping? - by mnrvovrfc - 01-07-2023, 03:38 AM
RE: better error trapping? - by madscijr - 01-08-2023, 03:59 AM
RE: better error trapping? - by aurel - 01-08-2023, 09:11 AM
RE: better error trapping? - by mnrvovrfc - 01-08-2023, 09:50 AM
RE: better error trapping? - by Fifi - 01-09-2023, 11:25 AM
RE: better error trapping? - by aurel - 01-08-2023, 04:09 PM
RE: better error trapping? - by bplus - 01-08-2023, 04:19 PM
RE: better error trapping? - by aurel - 01-08-2023, 05:18 PM
RE: better error trapping? - by bplus - 01-08-2023, 06:29 PM
RE: better error trapping? - by DSMan195276 - 01-08-2023, 06:33 PM



Users browsing this thread: 6 Guest(s)