2
votes
Vote UpVote

co-worker question: what is better, extension methods or helper classes?

The Wiert Corner – Recently, a co-worker at a client asked me “What is better: extension methods of helper classses?”. This question is relevant not only in the .NET and Delphi worlds. My answer was simple, consisting of these 3 points: If you can extend your class hierarchy in a better way, then do it If you can’t then be aware .NET extension methods always require a helper class, and Helper classes in Delphi are richer than extension methods in .NET Point 3. is to indicate that you need to be aware of what you can or can’t do in the various languages you use. There is more than just ...
Favorite? Off-Topic? jpluimers @ 2010-09-29 06:00

Statistics

Visits: 821
Votes: 2
Favorites: 0
Off-Topic: 1

Visits by Source

User Actions

Users who voted for this posting

Tier777
vcldeveloper
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)