code guideline
Kevin Ottens
ervin at kde.org
Wed Jul 9 09:23:59 BST 2014
On Wednesday 09 July 2014 10:15:03 David Faure wrote:
> On Saturday 28 June 2014 08:51:42 Rodrigo Bonifacio wrote:
> > Dear all, is there any code guideline that recommends developers to avoid
> > the use of exception handling mechanisms within the core libraries of KDE?
>
> I don't think it's written down anywhere, but yes, please do avoid the use
> of exception handling. I hate debugging uncaught exceptions, no way to get
> a backtrace of where the exception was thrown.
Isn't "catch throw" in gdb just for that? I regularly use it when I've to deal
with exceptions.
Regards.
--
Kévin Ottens, http://ervin.ipsquad.net
KDAB - proud supporter of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140709/162c9879/attachment.sig>
More information about the kde-core-devel
mailing list