[fpc-pascal] Food for thought - language string improvement
Marcos Douglas B. Santos
md at delfire.net
Thu Jul 6 16:27:47 CEST 2017
On Thu, Jul 6, 2017 at 11:13 AM, Graeme Geldenhuys
<mailinglists at geldenhuys.co.uk> 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.
> Language features like this is what increases productivity. But unfortunately it seems we all rather rely on a specific tool or IDE to improve our productivity - thus also locking us into using those tools only.
That would be very, very nice.
And instead of using [ " ' sql ' " ] would be better to use just [ " sql " ].
More information about the fpc-pascal