06-26-2007 02:19 AM
06-26-2007 02:54 AM
06-26-2007 03:14 AM
@bef:
I know that this is not "good practice"
If you know that it is not good practice why do you use it?
06-26-2007 03:57 AM
06-26-2007 04:04 AM
Knowing that something is good or bad practice does not mean:
1. my dumb user knows the good proctice
2. my code knows it.
The dumb user - that's always the hottest topic. In general, you have to design your program in a way, that the dumb user can't do something even dumber (I know that's almost impossible). But regarding a manually entered filename, you could check it and display a message, if the filename was invalid. But anyway - you're the programmer and you're free to do whatever you want - within the program ;).
06-26-2007 04:32 AM - edited 06-26-2007 04:32 AM
Message Edited by pincpanter on 06-26-2007 11:33 AM