A Goon
God grant me patience, but I want it right now.
- Anonymous
I've been completely hotmail free for 14.616 years.
Modified: August 09 2006.
Hits: 7314965/11139734
User: Anonymous Coward
Time: 0.04 seconds.

Read Message

Reusability, mostly

Author: The Lord DebtAngel ()
Date: 2000-03-30 00:00:00

This is actually a VB guy talking, but the principles are the same.

I have this code that will recursively read a directory structure and return every file that fits a pattern like "*.jpg|*.gif|*.tif|*.bmp|*.pcx". I stuck it in a class. It took me about three days to write and get perfect. Now, whenever I need it, I add the file and about 12 lines of code. It takes less than two minutes. That is the power of the class.

Mind you, there is not a lot of benefit to that until you realize I could stick that in a DLL and it would work just as well.


Is it not nifty? Sluggy Freelance. Worship the comic.

Does anybody here know C++ 'cause I gotta really good question. - Un-King WizardSlayer - 2000-03-30 00:00:00
-Reusability, mostly - The Lord DebtAngel - 2000-03-30 00:00:00