[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

Sven Barth pascaldragon at googlemail.com
Thu Jul 4 14:22:36 CEST 2019


Marco van de Voort <fpc at pascalprogramming.org> schrieb am Do., 4. Juli
2019, 12:00:

>
> Op 2019-07-04 om 07:34 schreef Sven Barth via fpc-devel:
> >
> >>> But the main question is: do we actually want a multiline string ?
> >>> As far as I am concerned, that question needs to be answered first,
> >>> and for
> >>> me personally the answer to that is still a resounding "no".
> >>
> >> Me too. Mostly overrated IMHO, and ugly as sin exception on general
> >> rules.
> >>
> >> Also goes for comments, but those have been in for a long time, so
> >> that is a bit moot.
> > You are aware that Pascal contained multi line comments (both "(* ...
> > *)" and "{ ... }") before single line comments "// ... " where added?
>
> Yes. And also that FPC changed them to nest with same time, which
> Borland style does not.
>
> > Though I also don't understand why you think multi line comments are
> > overrated.
>
> I meant multiline literal strings are overrated as feature, the reasons
> against multiline literal strings, besides that I'm in general against
> dialect divergence and complication are:
>

We agree on the multiline strings.

So regarding comments you only meant the nesting support and not multiline
comments in general? Cause that's what it sounded like... (Note: I myself
definitely like that nesting support)

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190704/9eaa068f/attachment-0001.html>


More information about the fpc-devel mailing list