[fpc-devel] Re: [fpc-l] type discussion

Hans-Peter Diettrich DrDiettrich at compuserve.de
Sat Jun 4 08:53:11 CEST 2005


Jamie McCracken wrote:

> Well I will typically spend about 25% of my development time with
> forward declarations, doing loads of try finaly blocks to free memory
> and other things instead of implementing my application.

Then you may have a bad exception handling model. Try-Finally is
required only when there are chances that an exception will abort the
current subroutine. Can't you find a less expensive method for steering
the regular control flow, besides by throwing exceptions? Do there
really exist so many situations, where an action frequently is aborted
due to some error, so that such occurences can be considered as "normal
operation"?

DoDi




More information about the fpc-devel mailing list