Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Mon, Jul 02, 2001 at 04:18:31PM -0400, Michael G Schwern wrote:
> > On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> > > Its not quite the same thing, but Java does have the concept of
> > > anonymous classes (it names them 'inner'
On Sun, Jul 01, 2001 at 04:35:16PM -0400, [EMAIL PROTECTED] wrote:
> Rather than stumbling around in the dark here, is anyone actually
> experienced with object inheritance? Any Self programmers out there?
> Someone that's actually used this technique often and understands what
> works and what d
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> At 09:07 PM 7/2/2001 +0100, Graham Barr wrote:
>> I for one use s/^...// quite often in the knowledge that it is optimized to
>> just move a pointer and not cause a copy of the string.
DS> We'll still be doing that. (The leftover
Simplifying somewhat (ok, a heck of a lot), an rvalued:
$foo is bar
or
$foo : bar
is syntactic sugar for:
bar($foo)
with some extra magic for handling a properties hash
associated with $foo's value, in particular resetting the
hash when $foo's value changes.
Right?
Basically, p
On Mon, Jul 02, 2001 at 05:38:11PM -0400, John Porter wrote:
> Well... "package" is a magic perl5-inducing keyword in perl6, right?
> Maybe "namespace" is the way to go.
I think the idea was "class".
Lexical namespaces can just mirror whatever happens to the rest of the
package/class system.
--
Michael G Schwern wrote:
> > Give me data aggregation by inheritance
> Oooh, now that would be useful.
Of course it would. That's why nearly every OO language (beside Perl)
has it.
> > and then I'll grant that inner classes are easy to tack on.
> You can always do this right now:
>
Michael G Schwern wrote:
> my package Foo {
> sub bar { ... }
> }
Well... "package" is a magic perl5-inducing keyword in perl6, right?
Maybe "namespace" is the way to go.
--
John Porter
On Mon, Jul 02, 2001 at 05:09:58PM -0400, John Porter wrote:
> Perhaps this could be done by allowing to attach a name to q
> lexical scope; perhaps this could be conflated with normal labels.
my package Foo {
sub bar { ... }
}
perhaps?
--
Michael G. Schwern
On Mon, Jul 02, 2001 at 05:04:23PM -0400, John Porter wrote:
> Michael G Schwern wrote:
> > Are they really necessary? You can get the same effect so many other
> > ways in Perl already,
>
> That is a very unhelpful attitude.
We've already got everything and the kitchen sink proposed for Perl
At 04:18 PM 7/2/2001 -0400, Michael G Schwern wrote:
>On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> > Its not quite the same thing, but Java does have the concept of
> > anonymous classes (it names them 'inner' classes): Is Perl6 going
> > to have a similar concept?
>
>Are they re
Jarkko Hietaniemi wrote:
> I forget... has the possibility/utility of having nested namespaces
> been discussed?
Not sure; probably... but we'd need not just *nested* namespaces,
but namespace *scoping*.
Perhaps this could be done by allowing to attach a name to q
lexical scope; perhaps this cou
Michael G Schwern wrote:
> Are they really necessary? You can get the same effect so many other
> ways in Perl already,
That is a very unhelpful attitude.
Give me data aggregation by inheritance, namespace scoping, and
interfaces, and then I'll grant that inner classes are easy to
tack on.
--
David Whipp wrote:
> Its not quite the same thing, but Java does have the concept of
> anonymous classes (it names them 'inner' classes): Is Perl6 going
> to have a similar concept?
Well, Perl5 has neither of the features that would make inner
classes meaningful -- data structure aggregation by i
On Mon, Jul 02, 2001 at 01:30:11PM -0700, Damien Neil wrote:
> On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> > Its not quite the same thing, but Java does have the concept of
> > anonymous classes (it names them 'inner' classes): Is Perl6 going
> > to have a similar concept?
>
>
On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> Its not quite the same thing, but Java does have the concept of
> anonymous classes (it names them 'inner' classes): Is Perl6 going
> to have a similar concept?
Inner classes and anonymous classes are actually different in Java.
(Anon
At 09:19 PM 7/2/2001 +0100, Graham Barr wrote:
>On Mon, Jul 02, 2001 at 04:12:31PM -0400, Dan Sugalski wrote:
> > At 09:07 PM 7/2/2001 +0100, Graham Barr wrote:
> > >On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote:
> > > > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
> > > > >On Mo
On Mon, Jul 02, 2001 at 04:18:31PM -0400, Michael G Schwern wrote:
> On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> > Its not quite the same thing, but Java does have the concept of
> > anonymous classes (it names them 'inner' classes): Is Perl6 going
> > to have a similar concept?
On Mon, Jul 02, 2001 at 04:12:31PM -0400, Dan Sugalski wrote:
> At 09:07 PM 7/2/2001 +0100, Graham Barr wrote:
> >On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote:
> > > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
> > > >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:
On Mon, Jul 02, 2001 at 12:59:51PM -0700, David Whipp wrote:
> Its not quite the same thing, but Java does have the concept of
> anonymous classes (it names them 'inner' classes): Is Perl6 going
> to have a similar concept?
Are they really necessary? You can get the same effect so many other
way
abigail [[EMAIL PROTECTED]] quoth:
*>
*>Blech. Sun didn't force you to run either Linux, or to use a PPC platform.
*>It's your choice, and blaming Sun to screw you doesn't make much sense.
Well, it's the Advocate or Asshole dilemma.
http://www.perl.com/pub/a/2000/12/advocacy.html
The conclusion
At 09:07 PM 7/2/2001 +0100, Graham Barr wrote:
>On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote:
> > At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
> > >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:
> > > > >what about starting offset? that is used now to shorten a st
On Mon, Jul 02, 2001 at 03:52:34PM -0400, Dan Sugalski wrote:
> At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
> >On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:
> > > >what about starting offset? that is used now to shorten a string from
> > > >the left side.
> > >
> > > D'oh! In.
- Forwarded message from Yukihiro Matsumoto <[EMAIL PROTECTED]> -
Date: Tue, 3 Jul 2001 03:29:46 +0900
From: [EMAIL PROTECTED] (Yukihiro Matsumoto)
Subject: [ruby-talk:17165] Language desgin
Hi,
Here's my answer to the question about language design.
|dear yukihiro
|I have visited Ru
Michael G Schwern wrote:
> Rather than stumbling around in the dark here, is anyone actually
> experienced with object inheritance? Any Self programmers out there?
> Someone that's actually used this technique often and understands what
> works and what does? Any books/articles to recommend?
I
At 08:36 PM 7/2/2001 +0100, Simon Cozens wrote:
>On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:
> > >what about starting offset? that is used now to shorten a string from
> > >the left side.
> >
> > D'oh! In. Out goes the unused.
>
>Whoa there. Do we still actually want to do this?
On Mon, Jul 02, 2001 at 03:00:54PM -0400, Dan Sugalski wrote:
> >what about starting offset? that is used now to shorten a string from
> >the left side.
>
> D'oh! In. Out goes the unused.
Whoa there. Do we still actually want to do this? It's unclear whether
or not it's actually a net win.
--
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
>> Rationale: it burns my eyes to have a mix of names with and
>> without underscores.
DS> And it means no shift key needed.
from too many years of typing -> and foo_bar, i have my emacs map _ to -
and vise versa. so i can type foo_b
At 02:48 PM 7/2/2001 -0400, Uri Guttman wrote:
> > "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
[Typos and dropped phrases snipped]
Fixed, thanks.
>what about starting offset? that is used now to shorten a string from
>the left side.
D'oh! In. Out goes the unused.
At 01:53 PM 7/2/2001 -0500, Jarkko Hietaniemi wrote:
>Good thinking to leave space for future expansion. (A UV is
>guaranteed to be enough to hold a pointer, right?)
Yes, but we just lost it to the starting offset.
> > DS> }
>
>Rationale: it burns my eyes to have a mix of names with and
>wi
Silly stylistic nit:
> DS> struct perl_string {
> DS> void *string_buffer;
buffer
> DS> UV allocated;
> DS> UV byte_length;
bytes
> DS> UV flags;
> DS> UV character_length;
characters
> DS> UV encoding;
> DS> UV type;
> DS> UV unused;
Goo
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:
DS> The string header format has changed some to allow for type
DS> tagging. The flags infor for strings has changed as well.
^
DS> =head1 DESCRIPTION
DS> This PDD details the primitive datatypes that th
This is going to be the final version, unless someone can see something stupid
in it. The only changes from version 1.1 are to the string stuff. Ask, could
you link this on to the PDD page of dev.perl.org, please?
=head1 TITLE
Perl's internal data types
=head1 VERSION
1.2
=head2 CURRENT
On Mon, Jul 02, 2001 at 08:32:04AM -0400, John Porter wrote:
> It actually is very applicable in programming Frame systems,
> which are a kind of souped-up semantic network thing,
> used a lot in knowledgebases.
Could you show me an example of what that is, how traditional
class-based OO tries to
On Fri, Jun 29, 2001 at 06:59:07PM -0400, Michael G Schwern wrote:
>
> As a Solaris gal, this might all seem perfectly sensible. Myself, I'm
> doubly screwed running Linux (which is not Windows or Solaris) on a
> PowerPC (which is not Intel or Sparc). Sun might have perfectly valid
> business r
[EMAIL PROTECTED] wrote:
> Rather than stumbling around in the dark here, is anyone actually
> experienced with object inheritance? Any Self programmers out there?
> Someone that's actually used this technique often and understands what
> works and what does?
I haven't used Self, only Lisp and P
On Fri, Jun 29, 2001 at 08:59:59AM -0400, John Porter wrote:
> Michael G Schwern wrote:
> > Second, and perhaps more importantly, we can do this perfectly well
> > with a module. No hacks, no tricks, no filters.
> > Class::Object uses the mini-class technique (ie. auto-generated
> > classes
>
>
> "schwern" == schwern <[EMAIL PROTECTED]> writes:
schwern> Sun doesn't give out its JDK source code freely, they
schwern> have all sorts of restrictions. If I wanted to port the
schwern> JDK I can do it, but I need special permission from Sun
schwern> to distribute it. This
Have you noticed that the same issues keep coming up over and over:
Unicode representation, op despatch and signals, threading, integer
preservation, and so on and so on. Have you wondered how other
languages, like Python and Tcl, solve these? Do you know that *your*
experience with language imple
38 matches
Mail list logo