develooper Front page | perl.perl6.language | Postings from May 2001

Re: what I meant about hungarian notation

Thread Previous | Thread Next
From:
David L. Nicol
Date:
May 9, 2001 16:58
Subject:
Re: what I meant about hungarian notation
Message ID:
3AF9D8CD.7A02815F@kasey.umkc.edu
Bart Lateur wrote:
> 
> So what you're saying is that references aren't really scalars,
> but their own type. Thus they need their own prefix.
> 
> But we've sort of run out of possible prefixes.

that is my interpretation of the p4->p5 decision to make references
fit within the scalar type; which itself echoes the nots&bolts
availability of memory addresses as integer types.  Which cause[s|d]
so much confusion when porting 32-bit code to 64-bit architecture

If perl6 variable decorations switch from Part-Of-The-Name
to type casts, pretending that a reference is a string continues
to make the same amount of sense as pretending that a pointer to
a structure is an integer.  It works, but it's troublesome.



-- 
                      David Nicol 816.235.1187 dnicol@cstp.umkc.edu
                      all your base are belong to us, Will Robinson


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About