[fpc-devel] Suggestion: reference counted objects
Boian Mitov
mitov at mitov.com
Mon Sep 22 20:45:52 CEST 2014
As I already stated, those are the same arguments that I have heard 30 years ago when people ware asking me why I would use C instead of doing it like them in Assembler.
later, why I would use C++ classes, when we has sructures in C++.
Why use virtual methods, in C++ instead of using the EC++ without them to “save space”?
...
I think history has at least so far always been on the side of my arguments ;-) .
With best regards,
Boian Mitov
-------------------------------------------------------
Mitov Software
www.mitov.com
-------------------------------------------------------
From: Michael Schnell
Sent: Monday, September 22, 2014 5:09 AM
To: FPC developers' list
Subject: Re: [fpc-devel] Suggestion: reference counted objects
On 09/22/2014 11:54 AM, Peter Popov wrote:
> > Because you'll need to declare an interface for each class you want to
> > have reference counted so that you can access its methods, properties,
> > etc.
> >
> Con: more typing
> Pro: you know what you are doing.
I cannot agree more.
Another con:
Nobody will search for the term "interface" when he wants reference counting :-(
-Michael
--------------------------------------------------------------------------------
_______________________________________________
fpc-devel maillist - fpc-devel at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140922/ccfc9bb1/attachment.html>
More information about the fpc-devel
mailing list