3 ms·
There's a difference between case sensitivity and case preservation. FAT32 and HFS+ are examples of case-insensitive, case-preserving file systems.
by mistercow 13y ago
There's a difference between case sensitivity and case preservation. FAT32 and HFS+ are examples of case-insensitive, case-preserving file systems.
- tekacs 13y agoThat there is, but I'm inclined to suggest this behaviour to be more confusing than simply maintaining name identically to input. :/ Not least this can sometimes result in some odd corner cases. shrug
- mistercow 13y agoIt seems like the ideal case to me; generous on input, strict on output. In most cases, users won't even know that the insensitivity is there, in which case it will almost never affect them (since users very rarely want two files with the same name, differentiated by case). For users who do know about it, it's not confusing. What corner cases does it lead to?
- Pxtl 13y agoOther languages have capitalization rules that are far, far more complicated than English, involving additional characters that either denote capitalization or a semantically different word depending on context. Personally, I'd aggressively pursue case-insensitivity and treat the problem of "oops the user can't create two files that have nearly the same name" as a much smaller bug than "oops the user can create two files have semantically the exact same name".