I’m with you, and not just from a “human” perspective. Also when writing small programs meant to be relatively lean/simple it can be a problem when the user expects it to find a particular file regardless of its case (will it be DOOM.WAD
or doom.wad
? Doom.wad
? Doom.WAD
? … guess it’ll have to be [Dd][Oo][Oo][Mm].[Ww][Aa][Dd]
and import some globbing library as extra dependency… that, or list the whole directory regardless its size and lower
/upper
every single filename until you find a matching one…)
But then you are not getting rid of the complexity, you are just forcing programs to become more complex.
I experience this with the doom libretro core, which is meant to be portable and have minimal dependencies… so if I want to find
DOOM.WAD
/doom.wad
/Doom.WAD
/etc. I would either have to add a globbing library to handle this case, or list the entire directory (I hope you don’t have a library of a million wads!) and compare each file (afterupper
/lower
) just to find the one with the right name.