04-18-2008, 01:29 PM
|
#10 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
The whole reason I took the prolix approach was to make a point. There are a million and one ways to find the file's extension. You're right though, your code is simpler to read, and would have been the next step in refactoring if you were to continue to find better approaches.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|