5
votes
Vote UpVote

Delphi anonymous methods are …

Yet Another Programming Blog – … too fat. Surely writing code like this gets frustrating very fast. I want my lambdas!! { Lovely, isn't it? } LGroupJoined := LOwners.Op.GroupJoin<TPet, TPerson, TOwnedPets>(LPets, function(Arg1: TPerson): TPerson begin Result := Arg1; end, function(Arg1: TPet): TPerson begin Result := Arg1.FOwner; end, function(Arg1: TPerson; Arg2: ISequence<TPet>): TOwnedPets begin Result.FOwnerName := Format('%s, %s', [Arg1.FLast, Arg1.FFirst]); Result.FPetNames := Arg2.Op.Select<String>( function(Arg1: TPet): String begin ...
Favorite? Off-Topic? alex @ 2012-01-08 02:05

Statistics

Visits: 1180
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Daniele Teti
Ericc
Stefan Glienke
Zzzzz
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)