[fpc-devel] Pascal Standard, and what we can do.

Paul van Helden paul at planetgis.co.za
Wed Jul 22 22:13:02 CEST 2015

On Wed, Jul 22, 2015 at 9:45 PM, Ralf Quint <freedos.la at gmail.com> wrote:

> On 7/22/2015 10:47 AM, Sven Barth wrote:
>> > var A := SomeClassInstance.SomeFunction;
>> While I agree that type inference /might/ be useful I don't agree with
>> inline variable declarations. One of the main points of Pascal is declare
>> before use.
>>  +100
> Things like this is just because people are trying to be lazy, not because
> this does improve code (human readable or otherwise).
> Someone who is trying to use a construct like the one mentioned above is
> nothing but lazy, is not properly designing his/her software. And that is
> against what Pascal should stand for.
> Humans miss a lot of times a third hand, but this isn't likely to happen
> that we grow one anytime soon. So get used to properly using what you
> have...
> Ralf
Ralf, I guess I'm talking about losing the third hand and join all the
other languages with two hands (so, minus the var block before begin :-) ).
This is not about being lazy, but about being less verbose. Or in other
words shorter text which is more expressive and more readable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150722/9fc608ec/attachment.html>

More information about the fpc-devel mailing list