10

I find that more and more new questions consist of useless ponderings of obscure details of languages.

Maybe I am not seeing the questions that involve actual issues. That could be because the obscure useless questions tend to gather the most traction.

A few recent examples (from weekly newsletter):

These questions are all of the academic ponderance type. No one actually needs to know this information. They are being asked for the purpose of gathering points.

For instance, is anyone really hitting that brick wall on the +(int)+(long)-1 issue?

In general, "why" questions are not useful. It's the "how" that a real programmer is interested in.

The "infinite loop" question is completely useless. It states, in summary "If I do undefined stuff, how does the compile know what to do?" and the answer is "Who cares?". Of course, the real answer is "It doesn't, so it picks a random outcome", which is the perfect answer to "What happens if I do random stuff?".

The big issue I have with this is that all these are useless questions, as in, not helpful to anyone except the question asker (as they get points).

I could give many more examples of useless questions that get major points, but it's not my intention to bore anyone with lists.

Maybe I'm completely mistaken and droves of coders find solace in the intricacies of +(int)+(long)-1 or it helps them keep their job, solving their hairy +(int)+(long)-1 issues seconds before the deadline.

What I'd like to know is if anyone else has noticed this trend and how they feel about it. It was my understanding the the goal of Stack Overflow (and it's ilk) was to provide useful help to coders so they can code better code that does real things, such as make a boss happy, or a client, or maybe their kid. But how +(int)+(long)-1 will accomplish this is beyond me. I seems to me these kinds of questions are off-topic and should be relegated to the 'compiler quirk ponderers' stack exchange site.

  • What about these questions is useful or useless, and why?
  • Are they a good fit for Stack Overflow's goal of helping programmers write programs?
  • Is it helpful to add these academic questions to the SO archive (i.e. is anyone else actually looking for the answer)?.
12
  • 16
    Of your 5 examples, I find 4 of them useful. I have personally encountered 3 of them myself doing normal everyday programming work. So I don't really get where you're calling them "useless" from.
    – Mysticial
    Commented Mar 2, 2015 at 5:52
  • 2
    I should note that the ‘compiler quirk ponderers’ you link to, from a brief glance, appears to be about questions about the theory of compilers and reasons behind common compiler design decisions, not about the specifications of specific programming languages. The questions you object to I believe would be found thoroughly off-topic on the site you link to. Indeed, Stack Overflow is a fine place for these questions.
    – icktoofay
    Commented Mar 2, 2015 at 5:54
  • 3
    I think my point may be missed here. I believe it to be unlikely that someone found +(int)+(long)-1 in code somewhere and wondered "What does this do". Instead, I believe this question exists only to gather rep. In any case, whether it was real code or not, it seems unlikely that anyone will search for this question. At best, it seems to me to be an exercise in language obscurity. That means it is not meant to solve any real problems.
    – DDS
    Commented Mar 2, 2015 at 5:57
  • 2
    I see my question is being downvoted already. Maybe someone is really looking for answers to questions that basically state "I have this crazy code that I know for a fact is ridiculous, but my compiler doesn't complain". How is this useful to anyone? Which program would the 'int main;' question help? Is there anyone thinking "Oh, what is the shortest way to write a program that does nothing, because I really need one and don't want to waste time typing useless brackets"? The question has 95 upvotes so 95 deemed it useful. But how is it useful?
    – DDS
    Commented Mar 2, 2015 at 6:28
  • 1
    The problem here is, you can't ask a really useful technical question. Really useful technical questions are very rare. Most of the questions asked are easily answerable by a simple search. One of my most upvoted answers is showing how to concatenate strings in Lua. Is it really useful? No. Because it's already in Lua documentation.
    – user4516901
    Commented Mar 2, 2015 at 7:21
  • 4
    This whole website is full of useless questions. You can't ask real, unsearchable questions, because they are all off-topic, or opinion-based, or too broad.
    – user4516901
    Commented Mar 2, 2015 at 7:33
  • 3
    And they expect research effort from you. If I research enough, this website renders useless.
    – user4516901
    Commented Mar 2, 2015 at 7:44
  • I almost always find the answer to real problems myself and skip SO altogether. Mostly only basic stuff is easy to find, although sometimes you find some real gems.
    – DDS
    Commented Mar 2, 2015 at 7:47
  • @DDS I gave up already. Filled the contact form to delete my account. I think I'm a bad fit for SO. I don't have questions and answers. The questions I have are off-topic.
    – user4516901
    Commented Mar 2, 2015 at 7:54
  • 4
    If all you are doing in life is asking "how" rather than "why" then I would suggest that you are missing the point entirely. Might as well be working on an assembly line or flipping burgers. (Which are both entirely honorable professions I might add.)
    – Tony Adams
    Commented Nov 25, 2015 at 16:07
  • 1
    Do not cast your Perl before spline.
    – user4624979
    Commented Jul 6, 2016 at 14:13
  • stackoverflow.com/questions/26716255/… <- Should really be closed, but for some reason it has a +77 score!
    – clickbait
    Commented Jun 30, 2018 at 6:30

4 Answers 4

18

All the questions in your list have been widely "advertised" in so called Network Hot Questions. This explains why these get more than average upvotes.

As for usefulness, as far as I can tell, the list is simply not intended to be for useful questions. The original designer of this feature explained its purpose as follows:

the intent here is to explicitly expose you to the most interesting questions from across the network, whether you have accounts on those sites or not...

This was posted long ago, but current approach on these seems to be essentially the same:

what "hot" questions are good for: entertainment...

For the sake of completeness, when Stack Exchange main page was recently redesigned to display hot questions list, these were supposed to serve purpose described as follows:

  • We want to talk to users or potential users, not reporters, investors, etc.
  • We want to focus on showing them the kind of content they might find on our sites, with as short a summary as possible of what makes that content better.

You see, none of above seems to suggest that hot questions are selected based on quality or usefulness.

5
  • 1
    That explains nicely how these questions come to gather so much traction. I still wonder about the intent of the askers. Of course, there is not a single 'intent', but it seems to me that it is likely a significant portion of these questions is asked with the explicit purpose of gaining rep.
    – DDS
    Commented Mar 2, 2015 at 7:00
  • I see. I think you might be interested to read this discussion at MSE: The bikeshed problem and Stack Exchange. Per my observations, Stack Overflow have built a fairly solid "safety net" to prevent it being flooded by bikeshed stuff; it only leaks somewhat in hot questions. So far this did not seem to be a big issue...
    – gnat
    Commented Mar 2, 2015 at 7:09
  • I was indeed interested in that discussion. I don't think it's the same issue, but I do think it's similar. Of course, puzzles have entertainment value and attract programmers needing a break from their tough nut.
    – DDS
    Commented Mar 2, 2015 at 7:22
  • 2
    @DDS well per my recollection, in the past puzzles and code golf questions have been noticeably troublesome for Stack Overflow and exhibited some of bikeshed related "symptoms". But this was generally addressed by establishing a dedicated site: Code Golf (with different posting rules). Some of the questions you listed may be considered a CG wannabees (I wrote wannabees because they don't necessarily meet requirements for valid CG SE questions)
    – gnat
    Commented Mar 2, 2015 at 7:27
  • 1
    somewhat related: Laziness is rewarded big time by the reputation system
    – gnat
    Commented Feb 19, 2016 at 8:12
11

Why such questions are interesting? Because many people don't want to be like that guy:

I don't know what I'm doing

(src: http://i3.kym-cdn.com/photos/images/original/000/234/765/b7e.jpg)

and they want to understand the tools they are using.

While the given examples are not a real programming questions (and if they are, it means that you've read "Clean Code" and made everything opposite), they help to understand how the compiler works, and therefore may help you write better, more performant code and avoid many pitfalls.

3
  • 1
    Although I completely agree that it's important to understand what a compiler does with your source, I think the examples are way esoteric and useless. Saying that it helps understand the compiler is just finding a problem for a fix, a fix that had no problem other than "how to get more rep". With that, I don't think these questions are (1) meant to help or (2) helping. You'd have to be pretty advanced to do anything useful with these questions. It could be useful for compiler designers. But at this point it's time to go to the computer science SE site.
    – DDS
    Commented Mar 2, 2015 at 7:11
  • 1
    this is not quite straightforward. Partly it's purely mechanical: system pushes some (any) question into the list and some vote simply because it's shown to them. Atwood called this effect "self-fulfilling prophecy". It was especially prominent before they introduced random shuffling. IIRC back then Atwood was laughed at when particularly bland PHP question made it on top of the list and stuck in there. People voted solely because it was #1 and this kept it there so that more people voted, and so on, for almost a week. This looked quite lame...
    – gnat
    Commented Mar 3, 2015 at 7:46
  • I note with a mixture of glee and "I told you so" that this is probably true for the example questions, and perhaps for the c tag in general. Subscribe to some other tags and you'll get a completely different picture. Good thing you are not a regular in php regex ...
    – tripleee
    Commented Feb 2, 2018 at 6:01
5

They are being asked for the purpose of gathering points.

Ah, so you’re a mind-reader, are you? I’m not a mind-reader, so I don’t know why these questions were asked. If I were to guess, though, I’d say they were prompted more by curiosity than by a desire to obtain rep points. (Why would anyone bother spending time on Stack Exchange purely to obtain rep points? Such points are valuable only on Stack Exchange: they’re worthless unless you're going to be spending time here anyway.)

Curiosity is a powerful thing. All our science, all our tools, all our knowledge of the universe, is built on insatiable human curiosity. People ask questions because of curiosity, and other people find those questions interesting, and vote them up. This is useful, even if not directly so. It prompts learning, and better understanding of the tools we use. Or it sparks interesting patterns in the brain. And in some cases, it actually is directly useful. As others have pointed out, some of those questions actually do have direct practical benefit to some people, if not to you.

2
  • 2
    Why would anyone bother spending time on Stack Exchange purely to obtain rep points? Because high score. This especially applies to SO; programmers as a general personality type tend to display an affinity for enjoying making their numbers bigger. To put it another way, why would anyone bother spending time grinding gear in WoW or Diablo? Are the vast majority of users just here to get a high score? No. Do such users exist? Yes. Are the askers of the questions in question this kind of user? Probably not. Commented Mar 2, 2015 at 12:31
  • 1
    Also, your SO rep can get you hired. itworld.com/article/2707360/it-management/…
    – DDS
    Commented Mar 2, 2015 at 17:32
-3

Because the general attitude of people who use this site so often that they rarely see anything new is best explained by the following:

With the lights out, it's less dangerous

Here we are now, entertain us

I feel stupid and contagious

Here we are now, entertain us

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .