Today I didn't feel like being a proper Loungizen so I decided to actually help out someone in chat.
That someone asked the room a question about the relation between pointer arithmetic and array indexing in C++, and I decided to do a search and find a question with a really good answer about it, which I am sure I have encountered before on the site.
So I typed the keywords "[c++] array indexing pointer" into SO's search box, and...
I was greeted with sbi's canonical entry on operator overloading as the first result. Wha...? "Oh well, it's probably all the upvotes", I thought. I look down through the list of results and I find way too many titles that are either not very helpful, or just flat-out useless. Here's a sample of the useless ones:
- "Indexing an array of chars - issue with pointers"
- "array indexing with pointers in C++ [closed]"
- "pointer to array c++"
- "array indexing from a pointer"
- "Pointer with cin implementation issue"
- "Tricky dynamic objects and pointers"
- "C++ Pointer Pointing to index of an Array of Objects"
- "Problem understanding a pointer to a function"
- "Point to an indexed pointed"
- "C++ array accessing"
- "Pointer and memory allocation for the pointee"
- "Error for pointer to member in C++"
- "Strings and indexes in C++"
- "c++ using vector of employee pointers"
- "Array pointer arithmetic question"
- "Polymorphism and array of pointers problem in C++"
(Note that I don't mean the questions themselves or the answers to them are useless; the titles are.)
Before clicking through any of those, I already have a strong feeling that all of those hits will have bad questions on the other side. Good questions don't have titles that could describe anything. I tend to describe these titles as "names of random language features strung together" because that's exactly what they are. Some are actually so literally that that they combine the random language features in ways that only make you think "WTF?". Sometimes one or more of the words "problem", "question", "error", or "issue" gets thrown in together with the names of the language features but it doesn't really help in making it useful. In my experience, questions titled like this tend to have usefulness that is in line with the usefulness of the title, but maybe there are a few good ones out there that happen to have such a poor title.
I appreciate the irony in the first result whose title is nothing but the name of one language feature. However, when you click through you see that what is on the other side cannot be titled much better than that, because it basically amounts to a comprehensive description of the language feature. I guess it could be phrased as a question like "How does operator overloading work?" and that might be better, but the current title is still representative of the content one will find on the other side.
(Note though that that first result is not really related to the topic I was searching for.)
I clicked through some of the titles that didn't look absolutely useless, and...
- some were completely misleading and the question has nothing to do with it (for example, "Freeing memory with Pointer Arithmetic" is all about allocating memory and has a single nonsensical mention of "free" in its body);
- some have reasonably descriptive titles but what it describes only matches the subject in question in a somewhat unimportant manner (for example, "Assigning pointer to an index in an array of pointers" is indeed about that, but turned out to be related to an undisclosed external reason; it should be closed as too localised);
- some are actually good questions that have titles that appropriately describe their content.
I didn't try them all.
Even though my search terms are quite broad, it's all but impossible for me to filter the tons of results I was given without actually clicking through them and reading them. The search results page might as well just give me a list of numbered links without any text and it helps out almost as much in my search.
(Note that I haven't edited any of the results I found in the interest of being able to show what I'm talking about easily, but they should be fitted with a proper title, or closed if there's no such thing.)
Is this a general problem, or does my choice of keywords hit a particularly noticeable cluster of horrible titles? Can we expect users to search things if when they do we present them with low-quality search results?
If this is indeed a problem, what can we do to mitigate it?
(Here I mean low-quality from a point of view of "can I easily tell that this is what I am looking for, or something that will help further my search?", not necessarily related to the actual quality of the questions presented.)
[tag1] or [tag2] is:answer