[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: C++ exceptions
From:       "Alexander Petrov" <zowers () gmail ! com>
Date:       2006-06-16 11:01:25
Message-ID: 967fb7350606160401s4c4c0219mabcfa4df86457915 () mail ! gmail ! com
[Download RAW message or body]

Hi

On 6/16/06, taipan@omnidatagrup.ro <taipan@omnidatagrup.ro> wrote:
> Now the question is: For 15% of extra size, exceptions will make apps more
> stable and more clean ?

I think Qt's sources size would greatly decrease if it used
exceptions, leading to a more safe, clean and small library.
The same applies to kde.

But it is not a good idea to just _add_ exceptions to qt&kde, because
error-handling and exceptions are important part of design and the
whole library must me redesigned from the ground up with exceptions
and exception safety in mind
See BS's Appendix E: Standard-Library Exception Safety
http://www.research.att.com/~bs/3rd_safe.pdf

-- 
BR.  Alexander 'zowers' Petrov.    jabber:zowers@jabber.ru    icq:69694782
http://zowers.googlepages.com    mailto:zowers@gmail.com
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic