[Qt-interest] error handling patterns with regard to (qt) gui programming

Paul Miller paul at fxtech.com
Wed Jul 20 16:29:53 CEST 2011


On 7/19/2011 12:13 PM, Matthias Dahl wrote:
> Throwing exceptions is naturally partly a way out. But imho exceptions are only
> for serious or fatal problems and not a general solution. That and there's also
> the possible performance impact and the usual (design) pitfalls.

Hitting your database is going to be a million times slower than using 
exceptions - using them will not incur any appreciable performance 
penalty on your program. Don't worry about it.




More information about the Qt-interest-old mailing list