<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I have a lot of monolithic procedures and functions - so large that
they are just scary.&nbsp; yes this is bad, yes I'm refactoring them (as in
Martin Fowler's book - which is great by the way) - but I'm digressing
somewhat from the original question.<br>
So my answer is no there is not a 1:1 relationship in my code.<br>
>From my current readings on OO design and implementation small methods
(with meaningful names) are they way to go, and is something that I
will work towards (over the next few years), but even so there will not
in general be a 1:1 correspondence of methods to try finally blocks.<br>
<br>
I hope this reply is not to rambling - am listening to the latest <a
 href="http://bdn.borland.com/article/33612">delphi hour</a> while
typing and multitasking is not my strong point (I think it's a guy
thing in general)<br>
<br>
<pre class="moz-signature" cols="72">Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
<a class="moz-txt-link-freetext" href="http://www.salespartner.co.nz">http://www.salespartner.co.nz</a>
PO Box 13085
Johnsonville
Wellington </pre>
<br>
<br>
Conor Boyd wrote:
<blockquote
 cite="mid8285CB7241FCFC4BB721A6F953F9B35E04D2B67A@nzc-ap-xch-01.ap.trimblecorp.net"
 type="cite">
  <pre wrap="">I'm getting the impression here that a lot of people only have a 1:1
relationship between try.finallys and procedures/functions?

Sounds a bit dangerous.

Should realistically be a try..finally for each object you instantiate
in a method.

Comments, anyone?

C.

_______________________________________________
Delphi mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a>
<a class="moz-txt-link-freetext" href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a>


  </pre>
</blockquote>
</body>
</html>