DeepTerrainRL icon indicating copy to clipboard operation
DeepTerrainRL copied to clipboard

Catch exceptions in main()?

Open elfring opened this issue 9 years ago • 1 comments

I expect that exception handling is usually supported by a C++ program. I wonder why your function "main" does not contain corresponding try and catch instructions so far.

How do you think about recommendations by Matthew Wilson in an article?

Would you like to adjust the implementation if you consider effects for uncaught/unhandled exceptions like they are described by Danny Kalev?

elfring avatar May 05 '16 17:05 elfring

thanks for the pointers. I haven't gotten into the habit of working with exceptions, but will look into it.

xbpeng avatar May 05 '16 18:05 xbpeng