[fpc-pascal] Bls: Bls: Quick Modern Object Pascal Introduction, for Programmers

Sven Barth pascaldragon at googlemail.com
Tue Jun 21 15:03:00 CEST 2016


Am 21.06.2016 12:31 schrieb "Michalis Kamburelis" <michalis.kambi at gmail.com
>:
> Current FPC defaults:
>
> - Help people who except the {$mode fpc} to be default (so they write
> code without classes and a lot of other new features),
> - Or people who expect that string is by default ShortString (limited
> to 255 chars).

One might argue about changing the default mode, but changing the default
String type of mode ObjFPC will very likely result in compilation or
runtime errors (probably even in the compiler itself) which is something we
tend to avoid without good reasons. At the very least there will be
performance differences which - depending on the code - might be noticeable
as well.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160621/15fae259/attachment.html>


More information about the fpc-pascal mailing list