Re:Why does sorting in computer science mean ordering rather...
by o_nate on Wednesday September 05, 2018 @03:32PM
(#17921139)
I had the same initial reaction, but the dictionary supports the idea that the everyday usage of sort means to group by category, not to order. I've probably just been coding too long as well.
[ Parent
| on HN ]
Re:Why does sorting in computer science mean ordering rather...
by outsidetheparty on Wednesday September 05, 2018 @07:07PM
(#17922606)
You’re right, it does! I wonder if the definition is going to drift towards “ordering” as computing becomes ever more ubiquitous, or if we’re just in a linguistic cul de sac by virtue of our profession...
Re:Why does sorting in computer science mean ordering rather...
by alanbernstein on Thursday September 06, 2018 @12:06AM
(#17923794)
Are you referring to a dictionary of word definitions? The kind that is structured as a list of words, ordered lexicographically? Where is the categorization in that?
Re:Why does sorting in computer science mean ordering rather...
by outsidetheparty on Thursday September 06, 2018 @07:58AM
(#17925593)
He's referring to the dictionary definition of the word "sort".
Dictionary.com has it as "to arrange according to sort, kind, or class; separate into sorts; classify". I looked it up in the OED too -- mostly because we have one and I don't get enough excuses to use its nifty little magnifying glass -- and it also supports the notion that it means by category, not by order. The general verb definition is "to arrange things according to kind or quality", and there's a separate definition for software: "sort: Computers: the action of arranging items of data in a prescribed sequence".
Re:Why does sorting in computer science mean ordering rather...
by mort96 on Thursday September 06, 2018 @03:59AM
(#17924618)
What do you mean? I agree that dictionaries are ordered and not categorized, but do dictionaries claim to be sorted?
Re:Why does sorting in computer science mean ordering rather...
by alanbernstein on Thursday September 06, 2018 @11:09AM
(#17926814)
I thought parent was using "the sortedness of dictionaries" as his argument, I now realize he meant "the dictionary definition of 'sort'".