Hi, On Thu, 6 Jul 2017, 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;''' > > FDQuery1.SQL.Add(query); > ========================================= > > Easier to read, easier to edit, no need for a IDE wizard or external > tools. > > Language features like this is what increases productivity. Stuff like this looks almost as bad to me, as PHP intermixed with HTML and Javascript. But sure, web devs are well known for their productivity... :P (And I'm quite conservative on such things, so ignore me. :) ) Charlie _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal