Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"

[prev] [thread] [next] [Date index for 2005/07/26]

From: Sebastian Riedel
Subject: Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"
Date: 20:50 on 26 Jul 2005
Am 26.07.2005 um 21:38 schrieb Michael G Schwern:

> On Tue, Jul 26, 2005 at 07:58:04PM +0100, Matt S Trout wrote:
>
>>> What happens when you want to add in another subclass to  
>>> DBIx::Class?
>>> All the extension code that copied your inheritance tree now  
>>> cannot take
>>> advantage and possibly breaks.
>>>
>>
>> use DBIx::Class::AutoIsa qw/::Core -except - 
>> replace ::SQL::Abstract ::SQL::OrderBy -with  
>> My::DBIC::SQL::Abstract/;
>>
>> Or something along those lines might make things easier.
>>
>
> Gah!  An @ISA copying and patching module?
>
> You're already into scary hacks and things have barely started.

I think the only reason people are so scared about multiple  
inheritance is the fact that so few languages support it, if there  
were more common design patterns it would be all fine... :)


--
sebastian

(message missing)

Delegation vs Hooks (was: Annouce: DBIx::Class, a.k.a "taking the easy way out")
=?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= 23:27 on 26 Jul 2005

Re: Annouce: DBIx::Class, a.k.a "taking the easy way out"
Sebastian Riedel 20:50 on 26 Jul 2005

Generated at 16:36 on 28 Jul 2005 by mariachi v0.52