[fpc-pascal] methods of an object to create others objects
Andrew Brunner
andrew.t.brunner at gmail.com
Wed Jul 7 15:48:13 CEST 2010
On Wed, Jul 7, 2010 at 8:34 AM, Martin <fpc at mfriebe.de> wrote:
> Had you only read to the end of my mail..... You are deliberately ignoring
> part of what I wrote and the blame me for the remainder being incomplete?
>
> I clearly stated that there are cases where "free" can raise a valid
> exception, and that the developper has to know this cases, and handle them
> (with nested try blocks).
>
> But I also wrote that (for me) the rule is that most "free" are not expected
> to do so (that may of course be totally different in your code).
Martin, I didn't get to the end of your email because I find that
first major part - part and parcel of why Delphi failed as a language.
It became unviable because exception handling and blow-outs. Which
in turn were caused by sloppy ideologies such as the standing notion
here... Which is to let the blow-out occur and move on. Garbage
collection was the solution to this problem.
More information about the fpc-pascal
mailing list