Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: markspace <-@.> Newsgroups: comp.lang.java.programmer Subject: Re: multi-line Strings Date: Wed, 12 Dec 2012 11:45:37 -0800 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <7f36342c-2331-4484-874b-4a0f8953f160@googlegroups.com> <1d63109e-1c04-4a95-9166-154020a11276@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 12 Dec 2012 19:45:39 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="12532"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18gYMaEbwmlYLEJe2vF3GPl46nLIREsjBw=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <1d63109e-1c04-4a95-9166-154020a11276@googlegroups.com> Cancel-Lock: sha1:M3hSN5d5kU7PhyeAJ/3rSTpw/Rs= Xref: csiph.com comp.lang.java.programmer:20277 On 12/12/2012 11:32 AM, Lew wrote: > > Interesting idea, modeling a multi-element thing as a multi-element thing. > > Hardly seems less advantageous than the proposed new syntax, and evitates the > Gorgon Language Change. The disadvantage to this method is his method, multiline(), has to assemble the string at runtime, and also has to make some assumptions about what style of newline to use. Whereas static strings are just that: static, don't need assembly, and the programmer specifies the newline character(s) directly.