7
votes

Authoring Generics: A Simple First Step
Nick Hodges
– Consumer or Producer? By now I suspect that most of you have heard of generics. Perhaps you have started using them via the Generics.Collections unit, where you can find TList<T>, TStack<T>, etc. The Delphi Spring Framework contains an even more sophisticated set of collections and interfaces to those collections, including the very powerful IEnumerable<T>. These are all very useful classes, and our code is made much simpler, easier to maintain, and more type-safe because of them. But using them merely makes us consumers of generics. If ...
Statistics
|
Visits by Source |
User Actions |