On Thu, Apr 05, 2012 at 08:53:58PM +0300, Shlomi Fish wrote:
> David Cantrell <[email protected]> wrote:
> > I don't think it matters what the API looks like, provided that it's
> > complete.  People who don't like your API can always roll their own
> > wrapper around it, like what File::Find::Rule does for File::Find.  I
> > can imagine circumstances when I'd want an OO-ish interface and others
> > when I'd want a functional stylee interface, so I suggest that you write
> > a nasty old *procedural* interface and then provide Some::Module::OO
> > and Some::Module::Functional wrappers in the same distribution.  Or just
> > leave those for other people to write, of course.
> Well, the problem with a procedural interface is that it often becomes
> impossible to properly instantiate...
>
> http://shlomif-tech.livejournal.com/29315.html

Mr. Fish makes some excellent points and I think I agree with him.

-- 
David Cantrell | top google result for "topless karaoke murders"

    Suffer the little children to come unto me, as
    their buying habits are most easily influenced.
       -- Marketroid Jesus

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to