Re: Reconsidering Mouse in TB2

Leon Timmermans <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <CAHhgV8hv4AkbP5cF3SbaEOwiTxHZPd-Pzk+e2MY6=-UaKZ4uAg@mail.gmail.com>
On Tue, Dec 6, 2011 at 1:35 AM, Michael G Schwern <[email protected]> wrote:
> As a result of the discussions, I'm now reconsidering using Mouse in TB2.  Its
> interesting, it's not for any of the reasons I thought, but for a distressing
> encapsulation breech built into Moose.
>
> The main concern is that the fact that we're using Mouse leaks out.  We must
> document that we're using Mouse and users must rely on this implementation
> detail.  Anything wishing to consume a role must use Mouse.  Anything wishing
> to take full advantage of subclassing must use Mouse.
>
> This is a critical violation of encapsulation.  It means TB2 is stuck using
> Mouse forever.  I look ahead a few years and see that becoming a severe
> limitation.
>
> A side issue is the compile time performance.  While XS fueled Mouse is the
> fastest OO implementation, compile time appears to be most critical to Perl
> test suite performance.
>
> So, uhh... I'm going to go do a bad thing.

What would be the repercussions of putting this in the fridge a little
longer (I know, it's been in there for far too long already) and
porting it to the upcoming mop?

Leon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.