KAction: kill all convenience methods

Matt Rogers mattr at kde.org
Mon Dec 11 04:11:49 GMT 2006


On Sunday 10 December 2006 19:52, Andreas Hartmetz wrote:
> Hi!
>
> I have a suggestion for KAction: remove all the convenience
> set<X><Y>Shortcut / get<X><Y>Shortcut methods. There is a long list of
> them and they make reading the documentation very _in_convenient. I
> think they should die. >95% of use cases are well served by the normal
> version of the calls with default parameters. When KAction gets more
> triggers, the clutter could get worse still.
> Protests?
>
> Cheers,
> Andreas

The purpose of convenience methods is to make it easier on the user to use a 
piece of API. How does removing these convenience methods affect the ease of 
use of the API?  What about the other 5% of the use cases that aren't well 
served by the normal version of the calls with default parameters? What are 
they supposed to do?

So far, I'm not convinced.
--
Matt




More information about the kde-core-devel mailing list