Vote UpVote

Delphi – Defer defines the “postpone procedure” pattern to execute code at the end of a method

The Wiert Corner – Last year, I stumbled upon [WayBack] Defer defines the “postpone procedure” pattern, this postpone should schedule a “procedure: TProc” to run it after the end of the caller method… – Cesar Romero – Google+ that points to this repository: https://github.com/cesarliws/foundation-4-delphi Some people like this usage of the RAII pattern, but I do like it even though I do not use it very often. The implementation better than my TAnonymousMethodMemento in Delphi: a memento that executes any code at end of method for various reasons: it has unit tests ...
Favorite? Off-Topic? jpluimers @ 2018-09-06 07:04


Visits: 206
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


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