r/stackoverflow • u/lawrencewil1030 • Nov 22 '24
Other code Stack Overflow - Very Flawed
I know i'm getting downvoted but at this point i've gotten used to it from SO. Stack overflow (I might refer to it as SO some times) has a few flaws and when I mean a few, I mean a lot, i'll just explain a couple.
Here on stack overflow, it's very easy to make a closed question. Take this situation: --- START OF SITUATION --
You are a beginner in programming, you ask a SO question for something, for this, let's say that you can't find a solution online or by youself and have read the guidelines and seen the typical stuff. You create a post only for it to get downvoted and flagged as a duplicate. The comments say it's not clear, you ask why it's not clear, you get an answer that doesn't even answer you asking why it's not clear and when you go and try to ask another question. You find out you are post banned for 6 months.
--- END OF SITUATION ---
That would be real disencourging to a beginner compared to something you would get through Reddit, Discord or <insert lots of other platforms here>. At that point it feels like only people who post perfect questions get to go farther. This is somewhat me, the difference is I bypassed that disencourgement but now I have about 3 or 4 banned accounts on SO and do not want to post questions on SO anymore with fear that account will get banned.
That's the first issue. The second one kinda threatens internet preservation. Start from the scenario of the previous situation. The closed question gets a comment answer because they can't post an offical answer on a closed question. Later the question is hidden, search engines might have indexed it and now it's 404 because of auto hiding and I've geninuely came across a 404 SO question removed that has been indexed by search engines. Now that question is now link rot. Thats the second issue.
These are both issues with Stack Overflow. I know this post won't fix anything but i'm just trying to get people to somewhat understand this is a ploblem with SO.
For the people blaming AI chatbots as the main issue SO is dying, the points in this post have also fueled going to AI chatbots.
Stack Overflow: https://stackoverflow.com/users/22126820/ltecher
4
u/talex000 Nov 23 '24
Are you sure that SO is the problem? Looks like you are the problem in this scenario,
And if you prefer reddit why post on SO?
2
u/CherryDT Jan 21 '25
"You are a beginner in programming, you ask a SO question for something" -- and here is where you already went wrong. As a beginner, most of the time you have no business asking questions on SO. That may sound harsh at first glance but let me explain what I mean by that.
SO is like a huge FAQ for all of programming. That also means that questions need to be boiled down to an accurate description of a generic problem with as many situation-specific aspects abstracted away as possible, otherwise it won't make a good FAQ. If I'm asking "why is my program crashing", I doubt anybody else will have any use in that question and its answers because their applicability will vary wildly based on the specific situation, also a lot of the information which would really define the underlying problem would be missing here in the first place. If I were to ask "why would setsockopt return ENOPROTOOPT for a multicast address" (after I debugged my code enough to be able to boil down the source of my crash to a previous invocation of setsockopt with an error I didn't handle, and what specific type of inputs would lead to this error response, and ideally providing a simple reproducible example), it would be a different story - these are the types of questions that do well on SO and provide long-term value to future readers/Googlers/AIs (the whole point of SO).
Imagine the FAQ section in your robot vacuum manual listing a question "robbot staying behind toilet but only the guest toilet PLS HELP!!!" - not very useful, right? Instead, if there were a question "How can I prevent the robot from getting stuck in tight spaces behind furniture or other items?" with a generic answer, it would provide a lot more value.
Now the issue here is, as a beginner, you typically are struggling to even reach this point of clarity about what a problem really is at its core. You won't be able to debug the issue efficiently, to easily identify which parts of a problem are generic and which are specific to your situation, how to simplify a problem to a basic reproducible example or even how to name some of the things correctly that are involved in the problem! Because of that, usually beginners are not able to provide quality questions to Stack Overflow that help future readers. If a beginner was able to do the work required to write a high-quality question about their problem, that process itself would 90% of the time already provide the answer or at least provide the right keywords to look for to find the most likely already existing answers that would apply to the same problem. The other issue is that even when people find the right answer or get pointed to it (such as by having their question closed as duplicate of a more generic question), they usually fail to see in what way their problem is just a more specific case of the generic problem and how the generic answer needs to be applied to their specific problem.
These problems which normally just stem from a lack of experience mean that in fact beginners should probably not ask questions on SO at all. Instead, only read existing questions when trying to solve an issue, and in order to contribute, start by answering questions, but even that should probably happen only later on after some experience in the field has already be acquired elsewhere, because otherwise it's also hard to write good answers.
Now, what can a beginner do then when they have a problem? Luckily, nowadays there is ChatGPT which can help a lot. But without that, the right place to ask a question that is more of a "help me I'm not sure what's wrong" type (which will likely be the case when a beginner does not yet know how to get to the core of a problem themselves), would be a coworker/mentor/etc. who can provide personalized help (keep in mind that SO is very much not that!), or - in case one doesn't know such a person - a forum post on a platform that is more social-oriented and has answering a specific person's specific question as primary goal and not - like SO - building a generic knowledge base for future readers. Reddit could be a start, perhaps Quora (which also has a Q&A format like SO but a different philosophy) or various Discord servers or discussion boards about specific topics online.
7
u/deceze Nov 22 '24
I mean, yes, sure, what you describe is accurate. Thing is, SO was never designed to serve absolute beginners. It’s expected that askers have a minimal understanding of what they’re doing and can ask a pointed, precise question, such that it’ll help future visitors. It’s supposed to be more of a Wikipedia than a forum. That’s why all the quality controls and closing reasons exist. If you’re too much of a beginner, then Reddit or something like it will be more productive for everyone.
You can argue whether this basic design principle is appropriate and useful or not. Arguably too many users don’t get it and post questions which fall way short of the mark, which is bad for everyone. But it is what it is, and arguably it’s been tremendously successful with it.
I think it’s fine that ChatGPT is becoming a viable alternative for the low hanging fruit there.
4
u/iOSCaleb Nov 22 '24
That's all pretty typical.
Sadly, that's much less typical. The introductory material is pretty clear, and so many questions from low-rep users are closed because they clearly ignore that advice.
Hopefully, this will be less common now and going forward. The question wizard should help users find apparent duplicates of the question they're about to ask and also avoid other common problems.
It's definitely a problem that new Stack Overflow users are also often new to programming. They may not know enough to ask a clear question because they themselves don't really understand the thing that they're asking about, and they're also not as skilled as experienced programmers at getting to the cause of a problem. People often write things like "it doesn't work" but fail to explain what doesn't work, what they expected to happen, what actually happened, or what they've done so far to diagnose or fix the problem.
If you called a mechanic and said "My car doesn't work" they'd ask a lot of questions, like:
- What kind of car is it?
- Does the car start? If not, does the engine turn over when you try to start it? Do the lights come one when you turn the key?
- When did the problem begin? Did the car work yesterday? What changed since then? Where is the car now?
If you called them and instead asked: "My '07 Subaru Outback starts, but last night it started making a 'thunk thunk thunk' noise when I turn the wheel at speeds above 15 mph -- can I safely drive it to your shop or should I have it towed?", that's a much clearer question. You've told them as much of what they might need to know to diagnose the issue as you can, and you've posed a specific question that lets them know what you're looking for.
Even if you don't really understand the thing that you're asking about, you can try to anticipate what someone might need to know in order to help you. SO users aren't mind readers -- they can't divine the cause of your problem without information, and they can't know what help you need if you don't tell them. A discussion forum like Reddit might be a better place to ask when you're having trouble formulating a clear question because users here are a) more willing to put up with the same question being asked over and over and over and over and over and over and over and over and over and over and over and over and over again, and b) expecting a discussion format with a lot of back and forth between the OP and the readers. SO doesn't have to be the only place on the Internet that provides answers, and if it's not the one that matches your needs, use something else.
I don't believe that anyone is banned for 6 months just for asking two questions. If you have a history of asking the same low quality question repeatedly, or asking a number of questions, different story. SO is designed to maximize the signal to noise ratio; if you want to make it work for you, make an effort to be the signal, not the noise.
1
u/guest271314 Nov 23 '24
0
u/guest271314 Nov 23 '24
It's revealing how much of the posts on this Reddit board are about the issues with SO.