On Thu, Apr 29, 2004 at 01:56:30PM +0200, Aldo Calpini wrote:
: On Fri, 2004-04-23 at 17:24, Larry Wall wrote:
: > [...]
: >
: > On the sixth hand, by that argument, since .dispatcher is aiming at
: > a Class, it should be an uppercase C<>. :-)
:
: why not wash all these hands altogether?
:
:
On Fri, 2004-04-23 at 17:24, Larry Wall wrote:
> [...]
>
> On the sixth hand, by that argument, since .dispatcher is aiming at
> a Class, it should be an uppercase C<>. :-)
why not wash all these hands altogether?
IDEA 1
implementing a "final" trait should be trivial enough (it just throws an
On Fri, 2004-04-23 at 12:02, Aldo Calpini wrote:
> if Perl5 objects are to be implemented somewhat 'transparently' in Perl6,
> things like:
>
> $obj->{meta}
>
> will become:
>
> $obj.meta
>
> when used from Perl6. or not?
True enough, but this was just a quick exploration of the likel
Aaron Sherman wrote:
> However, in existing CPAN modules that I happen to have in my cache at
> the moment:
>
> [...]
>
> So it's not THAT bad.
hmmm... I think you should probably also grep for modules that do something
like:
my $self = {
meta => 'something',
dispatche
(re-post. for some reason the alias didn't work.)
Larry Wall skribis 2004-04-23 8:24 (-0700):
> On the third hand, maybe we should go for $obj._meta_ or some such.
I don't like _foo_ names. Once you shart having things with underscores,
it's only a matter of time before someone decides that _foo
At 8:24 AM -0700 4/23/04, Larry Wall wrote:
On Fri, Apr 23, 2004 at 10:37:00AM -0400, Aaron Sherman wrote:
: It's a fine point... in the past, P5 and P6 have up-cased such
: constructs in order to warn of their semi-keywordishness (e.g. DESTROY
: or BUILD). I'm wondering why Larry chose to leave di
On Fri, Apr 23, 2004 at 10:37:00AM -0400, Aaron Sherman wrote:
: It's a fine point... in the past, P5 and P6 have up-cased such
: constructs in order to warn of their semi-keywordishness (e.g. DESTROY
: or BUILD). I'm wondering why Larry chose to leave dispatcher and meta
: lower in this case.
Hmm
On Fri, 2004-04-23 at 04:25, Aldo Calpini wrote:
> class MyClass {
> has LethalWeapon $.dispatcher;
> method meta { say "$_ is doing meta!" }
> }
>
> both of them would make my class pretty useless, I think, since it could
> not (correctly, at least) dispatch methods anymo