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

Re: Limitations of Attributes

Thread Previous | Thread Next
"Ruud H.G. van Tol" via perl5-porters
May 3, 2023 15:54
Re: Limitations of Attributes
Message ID:

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 
> <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About