2016-04-12 21:41 GMT+02:00 Florian Klämpfl <flor...@freepascal.org>:

> Yes. Maybe we have to do some more research what appropriate names are,
> the names in system.pp are
> historic.


Maybe is good idea to keep "Copy" operator name instead of proposed Clone.
Copy name is compatible with other starndard RTL functions like Copy and
CopyArray. I think is more intuitive for Pascal users. Clone is more "Java
story".

Instead of AddRef my proposition is: PostCopy, AfterCopy, LateCopy,
LazyCopy (it is not at all "lazy copy" by definition, but I like it). All
copied data already exist but programmer still can do some actions
post-factum (for example proper ref. counting). IMO best choice is LateCopy.
-- 
Best regards,
Maciej Izak
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to