xbpeng / DeepTerrainRL

terrain-adaptive locomotion skills using deep reinforcement learning
GNU Lesser General Public License v3.0
432 stars 129 forks source link

Catch exceptions in main()? #4

Open elfring opened 8 years ago

elfring commented 8 years ago

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?

xbpeng commented 8 years ago

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