Chris Velevitch made an insightful comment yesterday on the Flashcoders mailing list. Mainly, he talks about the finally keyword, and gives an excellent explanation of how it is used. However, he goes above and beyond the call of duty and points out how use finally to achieve a couple of best practices described in The Pragmatic Programmer, Finish What You Started and Don’t Repeat Yourself . It’s not very often that you find such a good explanation and accompanying example of a programming concept, so I had to pass it on to others.
Finally keeps you DRY
by Josh TynjalaThursday, January 5th, 2006
Share Your Thoughts
To display code in comments: <pre>Code here. May be multiline. Format XML with > and < entities.</pre>
Some HTML allowed in comments: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>