Minor containers API changes

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Nov 29 02:34:22 CET 2011


On 29 November 2011 12:29, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Hello,
>
> This is off-topic but I'm curious.
>
> Why the container package does not provide a type-class to unify APIs?
> Are there any technical/historical reasons?

Various people have tried, but they're typically unweildy, and in some
cases difficult to express without using extensions.  There's also
tension between "this should be a class method" vs "this should be a
function that uses the class" (large classes are annoying, but having
a function as a class method allows for more potential
implementation-specific optimisations).

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Libraries mailing list