tag:blogger.com,1999:blog-18241482.post5303116180759283576..comments2023-05-28T03:33:10.735-07:00Comments on Programming and Debugging (in my Underhøøsen): Template Template MethodCristachehttp://www.blogger.com/profile/08287129746971472910noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-18241482.post-1228075724657689922011-07-16T21:19:34.218-07:002011-07-16T21:19:34.218-07:00A better name for that construct might be somethin...A better name for that construct might be something like, with_resource.<br /><br />This is very similar to the "with" construct from lisp and python.<br /><br />You don't really need the exception catching logic though. You can just have a single try/catch higher up the call stack.Brendan Millerhttp://catphive.netnoreply@blogger.com