Forum Discussion
simon_glet
12 years agoRegular Contributor
Hi Scott,
We use JScript and instead of implementing a workaround to the exception handling limitation we went for defensive programming, C style with no try-catch exception handling. When an unforseen issue occurs the script crashes, the application is reinitialized and the next test is executed.
After some time we noticed that the code was cleaner and easier to understand that way.
It is a matter of taste so this was about giving another perspective ;-)
Sincerely
We use JScript and instead of implementing a workaround to the exception handling limitation we went for defensive programming, C style with no try-catch exception handling. When an unforseen issue occurs the script crashes, the application is reinitialized and the next test is executed.
After some time we noticed that the code was cleaner and easier to understand that way.
It is a matter of taste so this was about giving another perspective ;-)
Sincerely
Related Content
- 14 years ago
- 13 years ago
- 6 years ago
- 10 years ago
Recent Discussions
- 5 days ago
- 5 days ago