安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
It makes no sense.
Like I said, it's standard alphabetical ordering practice. If the Walking Dead and the Stanley Parable were indexed at your local library, they'd be indexed as "Walking Dead, The" and "Stanley Parable, The". If you went to your local record store, that's how artists would be organised, and so on.
When you're reading a list and looking for something you go through the string you're searching, compare character-by-character with the entries on the list you're reading and move onto the next entry as soon as one character fails to match, progressively narrowing it down at each step.
To find "Half Life 2", you start by looking for a string starting with "H", then "Ha", then "Hal", then "Half", then "Half ", then "Half L" and so on.
To find "The Stanley Parable" you start by looking for "T", then "Th", then "The", then "The ", then "The S", then "The St" and so on.
It's the same process, and ignoring the word "the" when sorting the list screws it up because you can't start your search in the strings that begin with T. You might as well not sort the list at all.
Then why not name the games in the list like that?
The least Valve could do is give us a choice of sorting method. ASCII, directory names, "Ignored 'The'", or "Name Comma The".
No matter the way it's displayed, it's still correct to sort it disregarding articles. Note that it's absolutely NOT the same thing as arbitrary truncation of words. It's specifically applied to just the definite and indefinite articles, and it's perfectly consistent. Also, used by everyone everywhere. Example time!
Books: http://www.cliffsnotes.com/literature?filter=A&sort=TITLE&sortDirection=ASC
Bands: http://simple.wikipedia.org/wiki/Category:English_rock_bands
Video games: http://en.wikipedia.org/wiki/Category:Atari_games
etc.
As a sidebar: note that a similar principle applies when capitalising titles. For instance, it's "The Taming of the Shrew" not "The Taming Of The Shrew".
It's also not uncommon for other lists to be sorted in an order which is different from strictly lexicographical. Lists of personal names, for instance, are usually sorted by family name then given name, even if they're displayed as given name family name.
The only reason not to sort in an order where the definite and indefinite articles are excluded is when the things being sorted are just arbitrary strings (like file names) or whoever programmed it was too careless to do it properly. Or both.
Applying it to certain words and not others is not consistent, and making such exceptions needs thorny if() statements to do it. I'd write one, but I'm a bit rusty on my C string-handling functions.
Given name and family name are almost universally stored in different variables. A work's title is a single variable.
A work's title and a file's name are the exact same thing! They're both stored in single variables. That's the point I've been making the whole time.
Programmers who leave out these kinds of arbitrary exceptions are not careless. They're doing it right.
Well in fact, it does makes sense.
'The' is for instance in the same group like 'a' or 'an'. Which are known for to belong to the 'Article' group of words. It's a prefix (or suffix) used with a noun. It is used to indicate a type of reference made to or by the noun.
'The' isn't in fact "an integral" (SIC) part of the title. Otherwise a large portion of all the titles falls under the 'T' in the listing.
It's just a simple grammar rule. When getting used to you hardly notice it anymore.
Computers don't use that rule unless it has been explicitly added and running across a program which has had it added is very jarring. Everywhere else on my computer uses non-grammatical sorting, so why can't Steam?
That's exactly what I want!
There's a search box outside of the store? When was that added?
So everyone keeps telling me. It's still not what file systems and straight-up sorting algorithms do.
It's been there for awhile. Every library view has a "Search" function in the upper left hand corner even small mode has a search function.
Variables are just an implementation detail. Nobody outside your program needs to know or care how the heck your program is implemented. What matters is the behaviour.
A work's title and a file's name ARE NOT the same thing, any more than e.g. a complex number and a 2D vector are the same. Sure, they can both be represented as a pair of floating-point numbers, but you'd be barmy to treat them in the same way.
The semantics are fundamentally different.
Also, I would like to point out there are plenty of other cases where a naive ordering can really screw things up. If you'll indulge me, consider this experiment:
Consider the strings:
1
ba
c
10
2
b
Have a guess what order those should be sorted in if they were filenames. We can compare with what Windows 7 actually does!
Hahah that's a mean trick question. Remind me to put that on my list of questions when I grill new hires. I love watching the college kids sweat.