in reply to Re^4: Perl Object Initilization
in thread Perl Object Initilization

My constructor does get inherited by all of my classes though, to deliver a consistent construction behavior and common method call syntax throughout my frameworks.

Neither of those "benefits" comes as a result of your "simple, inherited constructor". You get them for free regardless. I think any further expression of my scepticism is redundant.

It's OO Jim, but not as we know it :)


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^6: Perl Object Initilization
by armstd (Friar) on Jun 13, 2011 at 04:40 UTC
    Neither of those "benefits" comes as a result of your "simple, inherited constructor". You get them for free regardless. I think any further expression of my scepticism is redundant.

    Well no, you don't get name/value pair argument handling for free. No, you don't get consistent internal object structure for free.

    Really have no idea what you're talking about getting for free. Perl is work, man. Only thing that makes a difference is designing where the work gets done.

    --Dave