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

List:       kde-devel
Subject:    Re: A note to exceptions && some notes to codesize
From:       Alex Zepeda <garbanzo () hooked ! net>
Date:       1999-06-12 0:24:26
[Download RAW message or body]

On Fri, 11 Jun 1999, Waldo Bastian wrote:

> > Because if some program (such as kSirc or konqueror, or anything using
> > mico) needs to catch an exception, it's prudent to have the exception
> > "bloat" in the library. 
>
> Yes and no. Only if the library is part of the call-stack between throwing
> and catching the exception. Show me code where that happens.

What about an exception called in a slot?

> ksirc uses exceptions, but as far as I could understand, all
> exceptions where thrown between ksirc modules themselves only (Apart
> from that, it looks like just returning return-values would work in
> the case of ksirc just as well as using exceptions)

Well, if you're curious as to why ksirc uses exceptions, bug Andy, he
wrote it and staunchly supports it.  But to me anything that uses mico
would also need exception handling support in the library.

> > However, you'll also gain a decent savings by
> > disabling exception handling in applications that don't use exceptions.
> 
> We should at least start with that then.

Wow an agreement, and it's not even cold here :)

- alex

I thought felt your touch
In my car, on my clutch
But I guess it's just someone who felt a lot like I remember you.
  - Translator

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

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