API robustness - (was: Different ways to create a directory)

David Faure faure at kde.org
Fri Aug 14 09:14:53 BST 2009


On Sunday 09 August 2009, Rafael Fernández López wrote:
> In this special case I think we should only advise (from my POV obviously) KIO 
> and NetAccess usage. 

For documents created by users, sure. But for app-internal stuff that will
always go to a local file, this is overkill. You don't want a kio job
(which is either async, or uses a dangerous nested event loop) just
to create a local directory or file like a config file or a cache or anything
else you can find under $KDEHOME or ~/.local.

You can't solve every problem around the house with a hammer,
there are different tools for different purposes.

-- 
David Faure, faure at kde.org, sponsored by Qt Software @ Nokia to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list