I've been lambasted here in the past for saying this, but I'll say it again now and see if I get a different response; it's no longer helpful to search for "javascript" related questions and get mostly answers for jQuery. These days I'm able to solve a lot of problems just reading MDN, but sometimes I click on a Stack Overflow article and it turns out to be 12 answers that are all jQuery-specific even when the question itself doesn't call for it. jQuery isn't bad, but the world has changed around it and we can't keep pretending like everyone is using it for the same reasons we did back in 2011.
This not only does new developers a general disservice, but it can do a disservice to projects that have less-than-average momentum. For instance, I use Ember JS every day, and it's a framework that has really changed a lot since its inception, but you'd never know it if you looked up questions for it on Stack Overflow. The Ember questions on there are so woefully outdated that I believe it gives potential new users the complete wrong impression of it. There are outdated React questions on there as well, but at least there's enough inertia behind React that new activity helps overcome this to a degree. On the other hand, people almost certainly have given up on Ember because none of the Stack Overflow answers work at all. Sure, we could all submit updated answers, but they'll be below the fold and they will never be reselected as the accepted answer. There are other reasons why Ember has been in decline, but I do blame the mechanics of SO as a big detractor.
Preventing duplicate questions is fine, the overzealousness not withstanding, but if there's no mechanism to correct existing information as time goes on in a meaningful way, the only result can be rot.
jQuery is used on 83% of all websites; React is used on 4% [1]. You’re right that people are probably using it differently than they were a decade ago, but even in 2021 your average jQuery question is probably useful to many more people than your average React one.
Today, so many things are possible and easier with plain JavaScript and/or CSS.
I'd even go further and say there's lots of new sites using jQuery unnecessarily because the accepted, highly-upvoted, but 10-year-old SO answer said that was the way.
No one should be recommending the introduction of jquery (to solve some discrete issue) unless it’s already part of the stack.
But that’s exactly the opposite of how the current state of JS answers appears.
[0] https://insights.stackoverflow.com/survey/2020#most-popular-...
Of course, that doesn't really matter — we're talking about Stack Overflow users, and you're right that this is a way better source of data on what Stack Overflow users care about. Not sure why I didn't think to check their developer survey.
There are a lot of websites I made in the past and they are still online and many of them use jQuery, but I don't need to check Stackoverflow in relation to those websites, because I'm no longer working on them (and in most cases no one else does either, they just happily keep running unmodified). All of those are part of that 83% that you mention.
Stackoverflow is a Q&A websites for developers so IMHO it should focus on tech that is currently in use on actively developed systems.
50/10 vs 4*(unmaintained rate) + undercounting (possibly a large majority, possibly small) is probably React winning out
PS from your comment it sounds like you could be interested in Vue, specifically using Vue standalone without npm/webpack e.g. https://v3.vuejs.org/guide/installation.html#cdn
First, number of websites != number of platforms. If you go to the source of the number, they even point out as much:
> WordPress, which is used in more than 30% of sites, includes jQuery by default.
So right off the bat, you're looking at 50% or so, maybe plus a few for people who actually make a point to write jQuery + for wordpress specifically.
Secondly, that study has detection issues [0] that seem to not pick up a good deal of bundlers/etc, which makes it really hard to say how many of React/Vue sites are missed.
Thirdly, jQuery being used as a dependency of a library will still count it in that 83%. They show a few combination options specifically, and show it's at least 1.7% [1]. With others, say 2.5% in total. Think about how many bundlers hide React/Vue and how many common dependencies could use jQuery, and you're probably much higher.
Given all that, I'd bet that number is closer to 17% than 83%, though I'd wager around 33%.
Even with that 33% being jQuery without a framework or not being wordpress, you have to remember this is published. How many of those have had code significantly changed in the past 5 years? This is what's relevant in this context. All of this long winded nuance to say that I don't think "your average jQuery question is probably useful to many more people than your average React one" holds up, at least not like you might think that cited number shows. That's not to say it's irrelevant, just less relevant.
[0] https://github.com/AliasIO/wappalyzer/issues/2450
[1] https://almanac.httparchive.org/en/2020/javascript#framework...
The broader point is, we should be cognizant of our selection bias here. SPA frameworks are overrepresented on HN because we tend to be programmers building applications in the tech industry. But there are a ton of people who don't consider themselves "in tech" that still need to make a portfolio for their photos/figure out a WordPress plugin for their e-commerce site/etc.
There's a term in Russian "синдром вахтёра" which I think should be translated as "a doorkeeper/janitor syndrome". It's a phenomena when a not very smart person who doesn't understand the big picture of things gains a little bit of power against his fellow mates. While generally not intending to bring a harm, they begin to implement some weird but strict policies that reflects their very poor understanding of how things should work (metaphorically they think that every line should either be parallel or perpendicular to each other and no deviations should ever exist). Given that at least some of them might just enjoy having and exercising that little bit of power they have, the result could be just ugly and destructive.
Unfortunately, in many cases I've ever seen over the Internet communities (that's not to stretch the idea further), those who want to become a moderator are very prone to this syndrome.
I think to create a healthy community some extra special measures should be implemented to prevent this phenomena. Unfortunately StackOverflow is not doing it enough (if doing anything at all).
I think there should be some nuance in how those rules are applied. The author of this post appears to be one of the authorities on webgl. If they've written helpful posts on the topic, and those can be referenced from SO answers, they should be able to do that. Heck, even if they sell something on their blog, it's still highly relevant. It's same the problem Google, Youtube, Apple, and basically every other service right now is having with attempting to moderate what can be shared on their platforms, without losing the quality content. Incredibly often, they end up throwing the baby out with the bathwater.
I don't have a solution; the problem is in promoting quality content while preventing spam. It's not all-or-nothing, we need to strike the right balance with moderation.
So, rather than a score based social network style system, turn the questions into living, and evolving documents. Also, sometimes a person gets stuck having to work on code that's a decade old, so it would be nice to have a history as well, and not just the most recent solution that may not work in their environment.
A lot of people visiting Stack Overflow think that the purpose of a Stack Overflow question is to solve the OP's problem. They write "Dear Libby" style letter templates into the question box, and often provide very opinionated answers that try to give way more advice than was strictly asked for by trying to infer what's "really going on" based on the subtext of the question. And there's a lot of UI in there that encourages seeing it as an advice column.
But the Stack Overflow people themselves don't want it to be a place to seek general advice. They want it to form a general resource, with Stack Overflow being less of a bulletin board and more of a reference guide. The problem is that their UI doesn't telegraph this very well (I blame the way they leave the original asker's name and avatar visible on the question), and neither do their marketing materials. They're kinda trying to have it both ways, baiting people with the chance to get their own question getting answered and then switching to editing their question into something more generally useful than something just for them.
It is not a surprise that people feel cheated.
StackOverflow powered GPT-3 haha.
In both cases, it was bad moderation that pushed me into quitting. A trick I learned from working on Wikipedia is that you can think of these systems as MMORPGs where you get a useful product out the end. I think all of these platforms have game-design problems, where people with power can find satisfaction in moves that end up harming the reader experience and frustrating contributors.
Both companies seem to be doing fine without my help, so I guess they can afford to burn contributors out after a while. But like you, I think it's sad how much these things fall short of their potential. I'll never do anything for SO or Quora again, but I do miss the chance to help people.
Totally agree. Explaining something to somebody else is a great way to learn, too.
That was my experience on early SO, and it was great. I'd just browse a tag I knew, and pick questions where I knew most of the answer, and the act of explaining it would be useful to me, too.
Now I find doing so neither fun nor fulfilling. First there's lots of garbage questions that are impossible to answer. When you do finally find something good, it's hard to get it before it gets closed as dupe or someone else answers. And if it's from a new user, there's still a good chance they'll never come back to accept the answer and awards your fake internet points.
I'd love to see a SO that encourages more new users to actually answer those "dupe" questions (instead: hide them from search and older users)
Indeed - I've become an expert at several systems by hanging out in support forums and answering other peoples questions. the harder, the better! Who needs video games when you can still solve problems, help others and increase your value/skill set too?
This is a great point. And it also relates to abuse of power.
Recently I raised a question without precedent on Stack Overflow. A person had given a detailed answer, which pointed to issues not available in documentation. His answer was in fact an expanded analysis of the overall language specs - without it, I had no idea how to debug my code.
One megalomaniacal moderator marked my question as 'duplicate', and then pointed to another question -- where he claimed to have answered the question 'definitively' (he had not) and wanted me to upvote his answer.
There was no way for me to challenge his 'duplicate' mark, which is a real loss for anyone else encountering the same issue as I did.
"This question is not a good fit to our Q&A format. We expect answers to generally involve facts, references, or specific expertise; this question will likely solicit opinion, debate, arguments, polling, or extended discussion"
I think there should be a place for this kind of stuff, some place hackers can do these "prohibited" sorts of things...
I think they need to work on communicating that much more clearly, but ultimately they don't want to (primarily) be a place of extended discussion, debate, and so on, and I'm not sure it's fair to say "no, they're wrong" to that.
I was kind of referring to the very nice platform I'm typing on right now... :)
Oh my, not the dreaded extended discussion!! When will people learn that our tech overlords have found the most optimized means of communicating? We mustn’t revert to the dark times when conversing was openly practiced by the barbarians.
I love reading docs too, so I can get a deeper understanding. But sometimes I just need an answer in a hurry.
Or they don't want to understand the issue at hand, so they put in a hack, when obtaining a complete understanding of the issue which might take 5 minutes of their time reading the docs, would provide a better solution.
I've always been a little surprised that that they don't have a formal system of 'recycling' popular questions where they have a new 'edition' every 1/2/3/whatever years and they just prune the ones that don't get new answers.
It's valuable to get the latest answer to questions, but lots of us operate in past technological climates, so it's good to keep old answers accessible.
Once every question has been asked and answered every new question is a duplicate and no new information can appear in StackOverflow.
I am seeing more and more often that you look for a solution to an issue in StackOverflow and all you get is fixes that only work on obsolete software. For instance for operating systems a lot is for Windows 7 and before and doesn’t work on Windows 10 anymore.
Note you can still post answers to older questions; this is actually encouraged!
Closing of duplicates is the least of Stack Overflow's problems IMHO; it's done for a very real reason: if I search "how to do foo in bar?" then it's really great to have one question with all answers, instead of having to trawl through several questions. Also, as someone who spent quite a lot of time writing in-depth answers over the years, I'd rather not repeat that every month.
I have a lot of criticism of Stack Overflow, and I mostly stopped answering because I got fed up as well, but this isn't a problem IMO.
> Also, often enough the accepted answer for a question is not the best answer and instead the best answer can be found by looking at other answers or the comments (which I agree with the author should not be seen as ephemeral but are instead critical)
Generally those comments should be integrated in the answer; usually if I come upon an answer with helpful comments I will edit the answer to include that information.
I do wish the entire "accepted answer" feature would be removed though, or at the very least stop pinning them to the top.
Although, this can lead to its own weird problems.
I've been learning Objective C, and I've come across a lot of Stack Overflow questions which ask how to do a thing in Objective C, but where all the top answers are in Swift. Sometimes an older Objective C answer is just buried; sometimes it isn't there at all.
I realize that Swift is the newer language, but it's not the one I'm using, and the question was about Objective C.
To be clear, it's the other way around—someone asked a question about Objective C, and people answered how to do it in Swift.
From the perspective of "it's good to post updated answers to older questions" this makes sense, because there's a decent chance the asker would have requested Swift if the question was asked today. But as it stands, the question lists Objective C.
Which is to say, a lot of questions are "products of their time", and posting modern answers to older questions sometimes requires assumptions about what the asker would have wanted. I'm not sure what the best solution is.
Well, then this is a wrong answer haha.
> Which is to say, a lot of questions are "products of their time", and posting modern answers to older questions sometimes requires assumptions about what the asker would have wanted. I'm not sure what the best solution is.
I think it probably depends on the exact question and details; there isn't really a good one-size-fits-all solution.
A question is considered a duplicate only when it's an exact duplicate. Sometimes question get closed as duplicates erroneously as they're not exact duplicates, just very similar, and this can be an issue, but I don't think that's the biggest problem on Stack Overflow, and a lot of questions really are exact duplicates.
A lot of these issues are kind of scaling issues: with about 7,000 questions every day, many of whom are not exactly stellar, it's pretty hard to deal with them all. For year I've argued that improvements in messaging and such would make a big improvement, and Stack Overflow is finally doing some work on that now. For example the comment was changed from "Possible duplicate of [other question]" to "Does this answer your question: [other question]". The latter is much more friendly and helpful. People don't mark questions as dupes to be mean, but just as the easiest way to guide you to an answer (hopefully...)
> They want it to form a general resource, with Stack Overflow being less of a bulletin board and more of a reference guide. The problem is that their UI doesn't telegraph this very well (I blame the way they leave the original asker's name and avatar visible on the question), and neither do their marketing materials. They're kinda trying to have it both ways, baiting people with the chance to get their own question getting answered and then switching to editing their question into something more generally useful than something just for them.
Easy to look at an old question and think "There's no point posting another answer here, the asker is long gone." If we thought about it more like a wiki page and less like Yahoo Answers that wouldn't be the case.
Some of my most successful answers have been to old questions by the way: I try to solve a problem, the Stack Overflow question doesn't contain a solution I like, I figure it out, and I post it as an answer.
There's too much emphasis on closing questions that are duplicates (when in fact they are not, and technology changes so a duplicate question asked 2 years later is going to get different responses), closing questions because they are too open ended (but those tend to give the most interesting answers) and moderation is both too heavy handed and opaque (no records of deleted comments).
Also, often enough the accepted answer for a question is not the best answer and instead the best answer can be found by looking at other answers or the comments (which I agree with the author should not be seen as ephemeral but are instead critical)
So, all in all, Stack overflow was great when it came out, the concept is good and it could be great but falls well short of that.