The last comment is one thing I often wonder about. Why do people write "<foo xyz="bla"/>" when "<foo xyz='bla'/>" works just as well? No need to quote at all.
I'd like to voice my opinion on the #multiline syntax, too. It's plain ugly! I'd rather have a syntax that Emacs can hilite properly than something which goes over the top just to avoid quoting. For me it's also not apparent whether leading and/or trailing whitespace is part of the string or not. For example, what would the interpretation of this be (note the space at the end of the first line)?
string s = #multiline __blah foo __blah;
Is it "foo", " \nfoo\n ", "foo\n " or perhaps illegal? The suggestion also doesn't handle non-printing characters (e.g. non-breaking space) or wide-string characters which normally are entered using quoting. It would be terribly frustrating to find a block of multiline text and not be able to add the characters I want without rewriting all of it!
/ Jonas Walldén
Previous text:
2003-09-22 21:12: Subject: Re: wish: string with other quoting then \
Any time you write XML or HTML verbatim you would want this syntax, especially multiline one. Count the number of these in say Caudium (or Roxen) and you'll see that it would be very nice to have. Personlly I really like the
string s = #multiline __blah blah blah blah __blah;
syntax. Also it's not just multiline xml that would benefit. single line XML would benefit from not having to quote " all the time.
/ David Hedbor