[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 4773 - trunk/notes

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2003-02-07 08:34:27 CET

dlr@tigris.org wrote:

>+* In languages for which it is applicable, returned svn_error_t's
>+ should be declared as thrown exceptions.
Not always. In cases where some kinds of errors are expected as part of
the normal operation of the function, these should not be thrown as
exceptions. That's the problem with overenthusiastic use of exeptions:
it makes you wrap code in try{} blocks way too often, removing the code
that's part of normal function return processing out of the visual
stream and making it harder to understand.

Brane ─îibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 7 08:35:10 2003

This is an archived mail posted to the Subversion Dev mailing list.