[Lazarus] String vs WideString

Sven Barth pascaldragon at googlemail.com
Fri Aug 18 14:26:51 CEST 2017


Am 18.08.2017 10:42 schrieb "Michael Schnell via Lazarus" <
lazarus at lists.lazarus-ide.org>:
>
> On 17.08.2017 11:27, Sven Barth via Lazarus wrote:
>>
>>
>> Why do you want to stuff everything and the kitchen sink into TStrings?
>>
> To make use of the benefits the string type offers such as reference
counting and lazy copy.

The same is true for dynamic arrays.
So again the question where is the need for TStrings? And don't come along
with the String operations like Delete(), Insert() and Pos() again, because
those aren't covered by TStrings either.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170818/7c5bbb71/attachment.html>


More information about the Lazarus mailing list