Re: [fpc-devel] Management operators : Copy and Clone confusion...

2017-01-19 Thread Maciej Izak
2017-01-19 10:44 GMT+01:00 Michael Van Canneyt : > > At the risk of writing nonsense: > Seems ok to me :) > > I would think that a method name should give a clue as to what it actually > does. > In that sense AddRef/Clone seems better to me ? > (unless Copy does something else besides increasing

Re: [fpc-devel] Management operators : Copy and Clone confusion...

2017-01-19 Thread Michael Van Canneyt
On Thu, 19 Jan 2017, Maciej Izak wrote: Hi, in patch/feature proposed in http://bugs.freepascal.org/view.php?id=30687 we have Copy/Clone operators naming convention proposed by Florian (my initial idea was AddRef/Copy). I'd like to say that Copy/Clone naming convention is terrible in practic

[fpc-devel] Management operators : Copy and Clone confusion...

2017-01-19 Thread Maciej Izak
Hi, in patch/feature proposed in http://bugs.freepascal.org/view.php?id=30687 we have Copy/Clone operators naming convention proposed by Florian (my initial idea was AddRef/Copy). I'd like to say that Copy/Clone naming convention is terrible in practical usage. :( As the main author I have many t