A Goon
This is the unix version of the LoveBug virus and in the spirit of such it depends on the user community to propagate. please send this message to all of your friends and randomly delete numerous files from your system.
- Tollef Fog Heen
The year 2005 ends in 0 seconds
Modified: August 09 2006.
Hits: 7143261/10949215
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