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
hello,
sorry if this has been discussed before, I did a quick search in the
Archive and the summaries but can't find a similar topic.
I've just read A12, and while I really like the inherent orthogonality
of the whole object system as it is (will be) implemented, there is
something that puzzles
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 anymore. and
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.
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
(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
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',
dispatcher =
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 likelihood
that