Re: Good style for memory management?
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: Roland Schwarz <roland schwarz chello at>
- Cc: gtkmm-list gnome org
- Subject: Re: Good style for memory management?
- Date: Sun, 18 Mar 2007 18:37:58 +0200
Roland Schwarz wrote:
> > In any case, you can
> > not care about memory leaks if something throws when you build your GUI.
> > Because then you have more important problems at hands, right?
> Sorry I do not understand the last one.
> Why should I not care about leaks if bringing up a GUI (or part of
> it, e.g. a dialog) throws out due to a error?
Well, I do not know when you throw exceptions, but for me exceptions in GUI
construction are unacceptable, because GUI construction is not meant to
handle user input or something like that. I.e. if they happen, I have a
broken program and I do not care if it is a little more broken by leaking
memory. In any case it must be fixed.
] [Thread Prev