Roles Best Practices

By Stevan Little (‎stevan‎) from AmsterdamX.pm
Date: Friday, 1 April 2016 15:15
Duration: 40 minutes
Language: English
Tags: moo moose perl5 perl6 role traits


Roles are a method of code organization specifically meant to augment the re-usability of object oriented code while not simultaneously polluting your inheritance hierarchy with code that, in the end, does not help to describe your problem domain.

TL;DR – Roles are horizontal re-use.

This talk will describe some of the common patterns and best practices developed over the last ~10 years that roles have been available in Perl 5.


Attended by: Arjen Laarhoven, Theo van Hoesel (‎vanHoesel‎), Richard van Lochem (‎rvlochem‎), Søren Lund (‎slu‎), Steffen Winkler (‎STEFFENW‎), Abe Timmerman (‎abeltje‎), Jurgen Hildebrand,