Dalija Prasnikar
Loops and anonymous methods don’t go hand in hand. Any variable that changes for each iteration will cause problems if it is used within an anonymous method. I explained the mechanism behind variable capturing in… … Read more
1 year ago in anonymous methods, Tasks0
rlove
The recording of the Generics and Anonymous Methods Session is now available. Thank you to Phil Gilmore for taking the time to present this topic! View Now Online (Progressive Download) Direct Download (MP4) Code and… … Read more
15 years ago in anonymous methods, generics, Recordings, Tips & Tricks0
Barry Kelly
Some C++ aficionados point at the ability, in C++, to create an object such that the creation allocates some kind of resource, and the destruction frees the resource, with much glee. The idiom is RAII:… … Read more
15 years ago in anonymous methods, Delphi, RAII0
Cobus Kruger
Delphi 2006 introduced enumerators – a way to iterate any kind of collection with the for-in loop. And the VCL is chock-full of enumerators: TStrings has one, so do TComponent, TWinControl, TList, TObjectList and the… … Read more
15 years ago in anonymous methods, Delphi, enumerators, events, the-beatles0