3 ms·
Obviously, the solution is to just assign a numerical index to every file, and require filenames to be contiguous integers. Problem solved. In reality, there
by kbenson 12y ago
Obviously, the solution is to just assign a numerical index to every file, and require filenames to be contiguous integers. Problem solved.
In reality, there is a sliding scale between usefulness and complexity in filenames, and where one person thinks the optimal trade-off point is may not match what others think. Many filesystems have chosen (rightly so in my opinion) to just allow as much as possible, and let convention and the application layer sort it out. There are many, many complexities to character normalization and casing (think unicode and languages where multiple characters may be combined into a single separate character, or where there are choices to make on the correct way to change case based on the word itself), and again the problem is to be where to draw the line at what the filesystem should do for you.
The real problem is that people think that filesystems let us name files with words, when really we are just tagging file with characters. Words, as used in language, are an entirely more complex beast, and IMHO, entirely the wrong think a filesystem should care about.