On Wed, 24 Feb 2016, Maciej Izak wrote:

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
* 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...)
* I cant use the same name for class var and for parameter in method
http://bugs.freepascal.org/view.php?id=24963
* generic and specialize keyword hell in extensively used generics...

As said, ours is an opinion. Your mileage may vary.

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

Reply via email to