>     my Dog $spot = Dog->new();
>
> Provided this RFC is adopted, this call can be changed to:
> 
>     my Dog $spot = "Spot";

I like it, lots. This melds very well with RFC 159 and 161. Very cool.

>     my Dog $spot = "Spot";
> 
> would be transformed to, or be the equivalent of:
> 
>     $spot = Dog->$METHOD("Spot");

Perfect! Well, pretty much. I'd probably say it's more equivalent to:

   $spot = Dog->CREATE;
   $spot->STORE("Spot");

And that this would do the above:

   my Dog $spot ("Spot");     # $spot = Dog->CREATE("Spot")

But them's details...and my take on the underlying data methods...

> =item sub CREATE {}
> 
> As RFC 159 somewhat implies the syntax could resolve to the CREATE method.

I skipped out on this issue because Damian's writing an RFC that really
delves into the CREATE() method, and what it could do. One nice thing
about CREATE is its symmetry with DESTROY, and actually its distance
from new(). I think we should avoid NEW, just because it seems to hint
at new(), and it will probably end up working markedly differently.

-Nate

Reply via email to