Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Compile error when .bas name is same as a directory (linux) Dav 3 807 10-18-2024, 03:32 PM
Last Post: Kernelpanic
  Error Message bplus 3 906 08-20-2024, 09:03 PM
Last Post: Pete
  double error Jack 1 636 08-16-2024, 08:43 PM
Last Post: Pete
  erf() - The Gauss error function BSpinoza 6 1,248 11-14-2023, 09:01 PM
Last Post: Kernelpanic
  QB64 0.8.1 - File call error message. Kernelpanic 2 893 06-11-2022, 11:16 PM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)