Re: Pike 8.0 RC1
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmpnYUy+cw2tzcGz5pEfUBbO4HW-bxUndxCjT4OLr0chrw@mail.gmail.com> |
On Tue, Oct 28, 2014 at 8:00 PM, Stephen R. van den Berg <[email protected]> wrote: > Chris Angelico wrote: >>Yeah, for precisely the same ambiguity I was worrying about. But the >>more verbiage is included, the less useful it'll be. I do like the >>idea of a raw string literal - one that doesn't need all its >>backslashes escaped - but I don't expect to be nesting them more than >>three deep. > > I don't think that will detract from its usefulness. The requirement is that > the delimiter is unique, accomplishing that using delimiters that have to > adhere to a certain syntax does not limit that in any significant way. Right, but I'm happy with #{ #[ #( triple nesting #) #] #} rather than #[x]{ #[y]{ unlimited nesting #[y]} #[x]} - the former is sufficiently clean to be useful, the latter feels noisy and heavy. The #x{ #y{ potentially-ambiguous syntax #y} #x} is somewhere in between. ChrisA