stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

trait keyword #143

Open belg4mit opened 10 years ago

belg4mit commented 10 years ago

sub is not used for methods, traits should have their own keyword too. This could hide away some of the boilerplate too.

stevan commented 10 years ago

Just a note for context.

This was discussed at the Boston.pm meeting on Nov. 12, 2013. The idea is that we can make trait building easier by creating a custom syntax and therefore eliminating a lot of the boilerplate traits often have to create.

Syntax proposals welcome.

doy commented 10 years ago

I'm not sure what boilerplate this is actually referring to?