On Mon, Apr 19, 2004 at 02:04:55PM -0400, John Siracusa wrote:
: >From page 7:
: 
: > In any event, strings are reserved for other object layouts. We could
: > conceivably have things like:
: >
: >    return $class.bless("Cstruct", *%_);
: >
: > So as it happens, 0 is short for the layout "P6opaque".
: 
: I feel like "we" have pretty well staked out the letters p-e-r-l, but
: anything else is still up for grabs.  (I think I brought this up before on
: the internals list regarding the PL_ prefix.)

Well, this is all from the viewpoint of Perl anyway...it's probably an
enum internally in any event, and any language can give the values any
names they please.

: The C language probably has a good claim on "C",

Does that mean I can't use "Class".  :-)

: but I think it's unwise for
: us try to squat on P\d+, especially when this is such a rare use (first arg
: to bless) and three extra characters are not the end of the world.  What
: happens in 5 years when the super-popular "P6" language starts sweeping the
: nation?  Oops.  Also, "Perl6" makes for better documentation than "P6".
: 
: So, how about "Perl6opaque" (or "Perl6Opaque"), just to be safe :)

How 'bout just "Opaque", meaning Parrot's native object type, or whatever
the native opaque type is for the platform in question.

But I really don't care, as long as I have the 0 shortcut.

Larry

Reply via email to