[fpc-pascal] Food for thought - language string improvement
Michael Van Canneyt
michael at freepascal.org
Fri Jul 7 00:07:31 CEST 2017
On Thu, 6 Jul 2017, Sven Barth via fpc-pascal wrote:
> On 06.07.2017 16:13, Graeme Geldenhuys wrote:
>> Imagine if FPC had type inference and multi-line strings, neither very
>> exotic features. The code then becomes:
>> var query := '''SELECT Customers.CustomerName, Orders.OrderID
>> FROM Customers
>> FULL OUTER JOIN Orders
>> ON Customers.CustomerID = Orders.CustomerID
>> ORDER BY Customers.CustomerName;'''
>> Easier to read, easier to edit, no need for a IDE wizard or external tools.
> Completely ignoring the type inference which I'm definitely not a fan of
> - at least not in Pascal: In my opinion it would be better to improve
> and finalize the $IncludeStringFile patch from issue #25536 (
> https://bugs.freepascal.org/view.php?id=25536 ).
What stops us from applying the patch ?
It has been in Mantis for ages.
More information about the fpc-pascal