develooper Front page | perl.perl6.users | Postings from January 2019

Re: Roles are fundamentally broken?

Thread Previous | Thread Next
Vadim Belman
January 29, 2019 15:50
Re: Roles are fundamentally broken?
Message ID:

> On Jan 29, 2019, at 3:43 AM, Simon Proctor <> wrote:
> I think part of the issue is that fundamentally Roles are intended to be a way of doing non inheritance based classes. So composing Roles from other Roles is an anti pattern. 

But why? As I stated in my previous reply: isn't it constraining for the purpose of constraining? To me Perl was always TMTOWTDI in first place. The current approach to roles contradicts this principle.

Best regards,
Vadim Belman

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About