Am 24.02.2016 13:10 schrieb "Maciej Izak" <hnb.c...@gmail.com>:
>
> 2016-02-24 12:48 GMT+01:00 Anthony Walter <sys...@gmail.com>:
>>
>> On another forum a Free Pascal user opined that {$MODE DELPHI} is wrong
and should not be used other than for people or companies trying to convert
Delphi code to Free Pascal.
>>
>> What's the official position on this point?
>
>
> Delphi is IMO the best available mode. ObjPas is unusable for me for many
reasons, few of them:
>
> * Different parsing of comments

Which is better in ObjFPC as it allows nesting of comments.

> * Unlogical approach for static; modifier (I can't use static methods as
callback in objfpc... the main reason of introducing static in Delphi is
callback for api...)

AFAIK that's a general problem we currently have with static and not just
restricted to mode ObjFPC. At least in my opinion the assignment of such
methods to normal procedure variables should be possible no matter which
mode is selected.

> * I cant use the same name for class var and for parameter in method
http://bugs.freepascal.org/view.php?id=24963

That's by design.

> * generic and specialize keyword hell in extensively used generics...

On the other hand complex inline specialization expressions work in mode
ObjFPC, while they don't in mode Delphi...

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to