6
votes
Vote UpVote

Movie #96 - Escaping the Try...Finally...Free Nest

LearnDelphi.TV – We all want to do the right thing with memory management and make sure we tidy up after ourselves. However as our code gets buried in successive layers of object allocation, try, finally, free "nests" it all becomes a bit onerous -- and, well, resembling a pterodactyl nest. In this session, we look at a technique to flatten out your code so that it will look less attractive as habitation for a friendly pterosaur, and as a side benefit, improve readability. Along the way we use interfaces, generics and anonymous methods to build our over-engineered object de-allocation artifice.  Watch the ...
Favorite? Off-Topic? alister@learndelphi.tv @ 2013-10-22 07:16

Statistics

Visits: 1211
Votes: 6
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Andreas Schachtner
cedbru
corus
Ravaut123
Wouter
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)