2
votes
Vote UpVote

Multi-parameter FreeAndNil plus InitialiseNil methods – interesting code ceremony reduction by David Heffernan

The Wiert Corner – I’m probably getting a truckload of anti-FreeAndNil folks over me, but there are cases this comes in useful, so having an overloaded version cutting down code ceremony makes sense: [WayBack] interface – Avoiding nested try…finally blocks in Delphi – Stack Overflow Which means I need to update my type safe FreeAndNil one day. This should be relatively straightforward, given that David published a python generator for his Delphi code [WayBack]. –jeroen Via: [WayBack] Interesting approach by David Heffernan (*1) to the nested try..finally blocks because of multiple ...
Favorite? Off-Topic? jpluimers @ 2020-03-05 12:04

Statistics

Visits: 250
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Michał Rajewicz
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)