Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: Call by Result Date: Tue, 14 Jun 2011 09:21:13 -0700 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 14 Jun 2011 16:21:14 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="9mIMLLWQE/uBQz+Vsit8fg"; logging-data="17610"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18haY/iBVKpRUK50oWnAoNHflWBD3/nIHc=" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:PcX58X+XfBKLtfwi3Y/uyKf4al8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5306 On 6/14/2011 9:14 AM, Peter Duniho wrote: > On 6/14/11 3:29 AM, Andreas Leitgeb wrote: >> [...] >> In Java, there's of course no need to distinguish those ancient(*haha*) >> string-variants, so St and Sz as prefixes wouldn't make sense here. > > True. Instead, in Java (and .NET, Cocoa, etc.) instead we have mutable > and immutable strings. I don't think so. String is final and immutable. You can't make a mutable object that is-a string. You can make a CharSequence mutable, and Strings are CharSequence's, but you can't make a mutable String.