8
votes
Vote UpVote

Delphi Development Pretty Good Practices #4 – Do Work in Classes

Nick Hodges – The next principle for the “Pretty Good Practices” we’ll discuss is this notion:  Whenever possible and as much as possible, put functionality in a class –  preferably a class that can be easily unit tested, reused, and separated from any user interface. TextScrubber demonstrates this via the use of the TTextScrubber class in the uTextScrubber.pas unit.  TTextScrubber  is a simple TObject descendant that does all the work for the whole application, really.  It is a standalone class – you could take the uTextScrubber.pas unit and use it in most any project you ...
Favorite? Off-Topic? Nick Hodges @ 2010-05-05 19:29

Statistics

Visits: 967
Votes: 8
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

AlinS
Daniele Teti
jamiei
Jim McKeeth
Jørn E. Angeltveit
ket555
Ravaut123
stukelly
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)