Naming a module that deals with the meta-object protocol

2019-04-08 Thread Ben Davies
I wrote a small sum type module that subclasses 
Perl6::Metamodel::SubsetHOW. I was thinking of naming it either 
Type::Sum or Metamodel::SumHOW, but Type::Sum doesn't follow the style 
Rakudo uses for naming MOP classes, and Metamodel::SumHOW may not be a 
good name because it'd leak the module into CORE. What should I call it?



Re: Naming a module that deals with the meta-object protocol

2019-04-08 Thread Vadim Belman
Not sure what you mean by 'leaking into CORE', but I wouldn't use Metamodel:: 
namespace too. My suggestion would be to use Type::SumHOW or 
Type::Metamodel::SumHOW. The latter is better from namespace structuring point 
of view unless long names disgust you.

Best regards,
Vadim Belman

> On Apr 8, 2019, at 1:38 PM, Ben Davies  wrote:
> 
> I wrote a small sum type module that subclasses 
> Perl6::Metamodel::SubsetHOW. I was thinking of naming it either 
> Type::Sum or Metamodel::SumHOW, but Type::Sum doesn't follow the style 
> Rakudo uses for naming MOP classes, and Metamodel::SumHOW may not be a 
> good name because it'd leak the module into CORE. What should I call it?
>