I have a lot of monolithic procedures and functions - so large that they are just scary.  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.
So my answer is no there is not a 1:1 relationship in my code.
>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.

I hope this reply is not to rambling - am listening to the latest delphi hour while typing and multitasking is not my strong point (I think it's a guy thing in general)

Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington 


Conor Boyd wrote:
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
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi


  
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to