Vote UpVote

Trailing Closures in Oxygene and C#

RemObjects Blogs – Last week's build of Elements, .2447, brings a major new language feature that I personally am very excited about to Oxygene, and also as a language extension to our RemObjects C# dialect: trailing closures.What are trailing closures?Let's start with some background. Many APIs you work with every day take some kind of callback as last parameter. This could be APIs that perform a long operation asynchronously, or perform an action in a specific context, or repeatedly.Traditionally you would either have to pass the name of a separate method or, using slightly more modern paradigms, a lambda ...
Favorite? Off-Topic? marc hoffman @ 2019-10-23 21:01


Visits: 76
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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