Vote UpVote

The real power of generics

Delphi sorcery – I just watched the "Effectively Using Generics in Object Pascal" Code Rage 9 session by Ray Konopka, where he showed a great introduction to generics which is mostly about putting things into lists, dictionaries or other data structures. So basically container types what generics are great for.When someone asked how you can find out the type of T inside your generic type Ray responded that if you need to do that you may be doing something wrong and why that might be necessary because generic types should be type agnostic.It might be correct if you only think of collection types when you ...
Favorite? Off-Topic? noreply@blogger.com @ 2014-10-29 19:51


Visits: 1230
Votes: 10
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Cobus Kruger
Daniele Teti
Jeroen Pluimers
Jørn E. Angeltveit
Primoz Gabrijelcic
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)