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

Sven Barth pascaldragon at googlemail.com
Thu Jul 23 08:04:44 CEST 2015


Am 22.07.2015 23:13 schrieb "Maciej Izak" <hnb.code at gmail.com>:
>
> 2015-07-22 19:47 GMT+02:00 Sven Barth <pascaldragon at googlemail.com>:
>>
>> 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. While this is somewhat violated with Delphi compatible generics
there one could at least argue that the specialized type is implicitly
declared by the generic declaration...
>>
>> Regards,
>> Sven
>
> Sorry Sven but I do agree with inline variable declarations. You don't
have exclusive rights to dictate what is main point of Pascal (there is
also Oxygene, SmartPascal). This is your opinion and this is not ultimate
truth. There is also community with experienced users and big part of this
community (especially around Delphi and Oxygene, not around FPC core
development team :P) needs modern open source Pascal.

This is not merely my opinion.

> Some people love Oxygene, and you can't tell that the Oxygene is not the
Pascal. Any new construction will be "non pascalish" at first glance.

No, that depends heavily on the specific construction. Mostly whether it
was obviously just "ripped" from other languages like C# without giving a
second thought about the way how things should be done in Pascal (for
example attributes or Delphi's generics) or not (for example tuples in
Oxygene).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150723/f9c84b0a/attachment.html>


More information about the fpc-devel mailing list