develooper Front page | perl.perl6.internals | Postings from July 2002

Re: Mutable vs immutable strings

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
July 10, 2002 13:05
Subject:
Re: Mutable vs immutable strings
Message ID:
a05111b0cb952436394a5@[63.120.19.221]
At 10:21 AM -0700 7/10/02, John Porter wrote:
>Dan Sugalski wrote:
>>  I'm not sure that the place to enforce read-onlyness is at the
>>  string/buffer level. Doing it at the PMC level is more likely the
>>  right place to do it.
>
>Yes; but what about non-PMC variables?

Generally speaking, there aren't any. Everything else (in this case 
the buffer/string things) is for internal use only. Languages aren't 
supposed to expose strings directly.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

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