David Wheeler wrote:

> Yes, but this:
> 
>    my Really::Long::Package::Name::Ugh $date is now {.init 'June 25, 
> 2002' };
> 
> Is shorter than this:
> 
> my Really::Long::Package::Name::Ugh $date =
>    Really::Long::Package::Name::Ugh.new( 'June 25, 2002' );
> 
> It's not the short package names like "Date" that exacerbate my tendonitis!

Sure. But the right solution is to permanently eliminate the sesquipedalian
name (so you don't have to retype it for every single typed variable):

        class Date is Really::Long::Package::Name::Ugh;

        my Date $date = Date.new('June 25, 2002');


Damian


Reply via email to