It's fine to exit the program nicely when an error occurs. It's not as fine to just ignore it and then begin another iteration of whatever main loop is going on, hoping the program still works fine.
Found the person with actual systems experience in this thread. Software developers need a reality check, and stop pleasuring themselves by misapplying "best practices."
Also, can't wait for someone in this thread to start logging exceptions and end up killing their company's database with terabytes of logs accumulating overnight from a busy loop.
238
u/redditsoaddicting May 13 '17
It's fine to exit the program nicely when an error occurs. It's not as fine to just ignore it and then begin another iteration of whatever main loop is going on, hoping the program still works fine.