develooper Front page | perl.perl5.porters | Postings from May 2023

Re: Limitations of Attributes

Thread Previous | Thread Next
From:
"Ruud H.G. van Tol" via perl5-porters
Date:
May 3, 2023 15:54
Subject:
Re: Limitations of Attributes
Message ID:
b04ee0ec-5af4-00f5-e61c-ddc502bbc091@isolution.nl

On 2023-05-03 17:36, Ovid wrote:
> On Wed, May 3, 2023 at 10:15 AM Ruud H.G. van Tol via perl5-porters 
> <perl5-porters@perl.org> wrote:
>
>     The set of instances of <function> could be implemented as
>     a set of minimal instances called <_function>,
>     and a single "wrapper" implementation of <function> itself inside
>     some role,
>     that handles all the interfacing,
>     and then hands over to the appropriate instance of <_function>?
>
>
> Perhaps I'm misunderstanding you, but I'm wanting more generalized 
> behaviors in attributes which make life easier for programmers who 
> wish to use them. Building in tooling which is too specific for a 
> particular use case is something I'd like to avoid.
>

ACK, I was probably over-assuming,
that there should be a clean separation possible
between the "interfacing" and the "functional" part/phase of the sub.

-- Ruud


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About