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

List:       kde-core-devel
Subject:    Re: KAction: kill all convenience methods
From:       Matt Rogers <mattr () kde ! org>
Date:       2006-12-12 0:31:02
Message-ID: 200612111831.02191.mattr () kde ! org
[Download RAW message or body]

On Monday 11 December 2006 08:46, Guillaume Laurent wrote:
> On Monday 11 December 2006 05:11, Matt Rogers wrote:
> > 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?
>
> By making it much easier to find what call you need to use.
>
> > 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?
>
> They write a bit more code.
>
> > So far, I'm not convinced.
>
> Try watching this talk (by a guy working at Google), very worthwhile :
>
> http://www.infoq.com/presentations/effective-api-design

Wow, thanks so much for actually providing reasons as to why we should do 
something rather than providing one word answers that were already pretty 
apparent. </sarcasm>
--
Matt
[prev in list] [next in list] [prev in thread] [next in thread] 

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