Thread: Better Code
View Single Post
Old Aug 20th, 2006, 1:06 AM   #6
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
As far as programming etiquette goes, they are both fine in this case. If the prefetch folder didn't regenerate automatically, it would be a bad idea to just delete the whole folder, but it does, so it would be more efficient programmatically to just delete the whole thing at once.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote