[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.
Michael Van Canneyt
michael at freepascal.org
Fri Jul 5 02:12:58 CEST 2019
On Thu, 4 Jul 2019, Zoe Peterson wrote:
>> From: Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org>
>> Whitespace is indeed an important point. I myself pay quite some
>> attention to nice identation and with multiline strings that will
>> probably break:
>
> What about matching Python's whitespace handling for multiline
> docstrings?
>
> https://www.python.org/dev/peps/pep-0257/#handling-docstring-indentation
I was waiting for this proposal to pop up :)
<sarcasm>
"The totally braindead whitespace handling of python in Pascal: over my dead body..."
</sarcasm>
No, really not. Pascal does not care about the amount of whitespace. 1 space or 10 does
not matter.
Amount of whitespace is and must remain irrelevant. The line-ending is bad enough to
deal with, things should not be complicated even further.
Michael.
More information about the fpc-devel
mailing list