You could also say that down
should not complete to download
since those are completely different strings and you shouldn’t expect one to get you the other.
Comment on D or d come on
Feyter@programming.dev 8 months ago
I don’t get it… “D” is a complete different character than “d” is.
It’s like wondering why “file1” is not opened when I typed in “file2”.
lemmonade@lemm.ee 8 months ago
Feyter@programming.dev 8 months ago
Sorry,
down
is a substring ofdownload
I don’t get your point either?Honytawk@lemmy.zip 8 months ago
Substring is not string.
If they were interchangeable, then “D” & “d” should be too.
Feyter@programming.dev 8 months ago
down
matchesdown*
because*
also includes empty string. Alsodownload
matchesdown*
D
matchesD*
butd
is not matchingD*
becauseD
is a different character thand
.
schnurrito@discuss.tchncs.de 8 months ago
On Windows filenames are case insensitive at least usually, some people are used to that. But that is poor design for so many reasons, Turkish I being one of them.
user224@lemmy.sdf.org 8 months ago
Now take Android. Files are case-sensitive yet you can’t create 2 files with same name if they only vary in case.
Reil@beehaw.org 8 months ago
One of the most pointlessly annoying things I’ve had to deal with was trying to move a process made for Linux onto a Windows MINGW/cygwin-type environment where one of the scripts would generate “.filename” AND “.FileName” files. :|
oleorun@real.lemmy.fan 8 months ago
TIL, thanks. I wonder why they chose to do it this way.
AnUnusualRelic@lemmy.world 8 months ago
They cater to windows users that are used to the quirks of their broken system.
1984@lemmy.today 8 months ago
People want their computers to magically know what they want these days. :)
PupBiru@kbin.social 8 months ago
“magically know what they want” aka occasionally set you and your files on fire
i prefer not fire
Swedneck@discuss.tchncs.de 8 months ago
that’s not how language works though, in human language (i know this can be confusing) d and D are the same letter just in different forms.
It’s one thing to have case sensitivity in programs doing data manipulation, that makes sense because you don’t want the program to accidentally use the wrong files without supervision.
But when you have an interactive prompt you know what you’re doing, you can see if you entered the wrong directory, and you’re generally going to be working in directories that you have yourself organized.
4am@lemm.ee 8 months ago
Doesn’t tab completion solve this if there are no alternatives with matching case? sounds like a PBKAC