[ros-dev] Error handling

Robert Köpferl rob at koepferl.de
Wed Apr 13 00:57:53 CEST 2005


I can just ACK your post.

Not using goto is like a no-no. It was for the last 15y and will be 
another. (?) The schools teach it. But one should allways think about 
the "Trueth" wether it is ture or just "dontcare".

Using Exceptions and the resulting stack unwind etc. is not nice 
concerning performance. However it leads to more secure and elegant 
code. I for my part would rather insert some spare gotos. AND use auto 
variables.


More information about the Ros-dev mailing list