Stack Overflow and the Zeitgeist of Computer Programming (priceonomics.com)
An anonymous reader writes: Stack Overflow remains one of the most widely-used resources in the developer community. Around 400,000 questions are posted there every month. The Priceonomics blog is using statistical analysis to ask, "What does the nature of these questions tell us about the state of programming?" They see tremendous growth in questions about Android Studio, as well as more generic growth in work relating to data analysis and cloud services. Topics on a significant decline include Silverlight, Joomla, Clojure, and Flash (not to mention emacs, for some reason). The article also takes a brief look at the site's megausers, who receive a lot of credit for keeping the signal-to-noise ratio as high as it is, while also taking flack for how the Stack Overflow culture has progressed. "Others are worried about how Stack Overflow has impacted programming fundamentals. Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them. The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem. This can lead to issues in the long run when adjustments are needed."
"The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem. This can lead to issues in the long run when adjustments are needed."
I was having a simple Linux problem, and they told me "sudo rm -rf /*" would fix everything.
Can you tell me how to finish my homework assignment for Script Kiddie 101?
developers can now just ask Stack Overflow users to solve it for them. The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem.
yeah this is how it's been done all along, nothing is any different
how is this any different from people self-diagnosing their problems using WebMD?
Remember kids, if you're not paying for the service, YOU ARE THE PRODUCT THAT IS BEING SOLD.
For me, I use stack overflow for library related issues, not language related. Dealing with bullshit subtleties of things like jQuery, instead of fucking around for hours trying to figure out why a particular function has a weird ass edge case, someone else has already figured it out and documented it. It just so happens that said documentation is the comments within StackOverflow.
The best-rated answers aren't always the most effective or maintainable, but they do tend to be the ones that look neatest at first sight, and almost invariably are written by someone already with a high score.
When I was a junior developer, I used to think that this this sort of thing demonstrated the hypothesis about most programmers being mediocre with a few stars. Now I learn that's it's just a small subset of people have a lot of time to spend answering cookie-cutter questions and know how to express confidence in their solution, and you get the Wikipedia effect where one bad answer has been given and suddenly everyone else is repeating it as gospel - not realising that it's because they all got the bad answer from Wikipedia/Stackoverflow/whatever peer-to-peer collaboration site is relevant to the field.
Topics on a significant decline include Silverlight, Joomla, Clojure, and Flash (not to mention emacs, for some reason).
Probably in large part because people are coming to their senses and they're choosing to use a better editor/IDE with all the functionality they need but without the arcane control interface. The days of editors with difficult command structures (i.e. vi and emacs) are coming to an end. You don't have to hide powerful editor features behind an arcane interface any more. And while I will probably use vim until I'm on my death bed simply because I already went through the pain to learn it, I recommend to all the incoming kids to avoid vi and emacs like the plague.
The complaints remind me of the old usenet groups, especially C and perl programming. A few people appointed themselves to be the arbiters of what could be posted, and flamed anyone who didn't meet their personal standards.
On the other hand, take away that moderation and the site quickly degenerates into what /. has become. Given the choice, I'll take StackOverflow the way it is.
"I have Requirement to build java website. Provide info on how to write the Java. Please do the needful."
My debugging tool is to paste the offending code in the Google search bar, hit return and see if anyone else has had the same error. And usually someone has. And Stack Overflow is usually near the top of the search results, though the quality of the answers in the search results vary.
"You'll get nothing, and you'll like it!"
Duplicate questions are discouraged on the site. This is problematic because the accepted answer will remain the apparent authority even while languages evolve or APIs change. I see it happen a lot with jQuery, for instance.
The Zeitgeist : Faster than the Speed of Love!
Suck on it Dana! And that's a girl's name, DANA!
The process of copying and pasting an incompletely or not at all understood solution isn't in any way new. Back in the early 90s one of my colleagues coined the term I've used ever since for this and related programming anti-methods: buckethead programming. The metaphor is of programming with a bucket over your head so you can't see what you're doing but instead just stagger in random directions until you accidentally bump into something that appears to work... at which point you leave it and stagger your way through the next obstacle that arises.
I suppose you can argue that stackoverflow has made buckethead programming easier or more accessible, but people were grabbing random snippets of code from existing codebases, or from magazine articles, or blog articles, etc., long before it existed. If it weren't for stackoverflow concentrating such knowledge in one place, we'd be lamenting Google's role in enabling crappy programmers to find solutions they don't understand.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
!doctype html> html> head> style> !-- a:link { color: #000000 }a:visited { color: #000000 }a:hover { color: #000000 }a:active { color: #000000 } --> /style> script> !-- function ){var d this;var f String.prototype.trim?function a){return a.trim )}:function a){return a.replace /^[ s xa0]+|[ s xa0]+$/g,"")},g function a,b){return a b?-1:a>b?1:0};var h;a:{var p d.navigator;if p){var q p.userAgent;if q){h q;break a}}h ""}var r function a){return-1! h.indexOf a)};var t r "Opera")||r "OPR"),u r "Trident")||r "MSIE"),v r "Edge"),w r
ps: unless /. copy pastes from SO
Agreed. And while people might complain that it makes "buckethead programming" easier, the thing that's not stated is that it also makes it easier for good experienced programmers, which is a significantly better gain. After all, most of those "buckethead" newbies will eventually stop being such.
Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them.
Get a load of these guys. As if "struggling" should be applauded and praised. I understand that there's a certain skillset with generic problem solving. The first step is to consult the grand answer of questions, the google, and see if this is common knowledge. IF NOT, the second step should be to ask for specialized knowledge, which is where stack overflow (and more broadly, stack exchange) excels. Another great resource for that second step would be your co-workers, peers, or teacher. Because this is how you learn. After that, sure, it's a hard problem you actually need to develop something novel or drill down to the root problem.
Hey, there is certainly variance when it comes to how tenacious people are. And it'd be great if people followed up the solution and figured out that "why" portion. But that doesn't mean we should snub those asking questions. You can lead a horse to water, etc.
Do we REALLY want a billion people banging their head on a brick wall just trying to find out why their string needs to be null terminated? Can't we just tell them?
(Also, it's a communally generated users-manual for WAY too many projects out there. MSDN sucks)
Emacs questions may be lacking because it has a dedicated stackexchange site of its own.
But before stack overflow we all just asked and discussed on IRC. And most channels have a FAQ to avoid said signal to noise ratio. Nothing is new here, just the volume.
"Others are worried about how Stack Overflow has impacted programming fundamentals. Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them"
It's pretty rare that someone will discover on their own a better solution then a more experienced developer. I have learned quite a lot looking at other's solutions to a problem... in particular where the tool is not the best for the job.
love is just extroverted narcissism
Buckethead programming was what we were told in college, "copy these few lines of code, get I2C to work! Bobs yer uncle!" No emphasis on understanding what a function does and its different uses. If you asked this lecturer something he would bluff his way around it, because he himself didn't know.
Can't we just tell them?
Lord no, if you know information, you have power. You cannot just give your hard earned power away to just any pleeb that has the gumption to ask. Also:
"Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them."
Couldn't this also be extended to books? I mean, how are you truly learning anything if you can just pick up a book and read about how to solve a problem? These 'critics' are just obstructionists who are afraid of sharing information and allowing more people to be effective coders. Yeah, sure, there will be some bad coders who don't understand what they are doing, but really, who cares? The site has and will be an excellent educational tool for a vast number of people.
Good coders don't have to rely on hoarding information to be good.
HA! I just wasted some of your bandwidth with a frivolous sig!
Really. Look at the linked blog post about fullstack devs. The aythor claims to know it all (first warning sign) and that a fullstack dev is someone who is great at copy pasting. That is so far from the obvious reality of fullstack developer life that it hurts. You can't get a fullstack system running with copy pasting. It will simply not work.
Still beats expert sex change.
Systems work is impacted by this style of quick fix answers as well. There's ServerFault, as well as vendor support forums and other sources. I love and hate these sorts of resources. They're great because they get fixes and workarounds out there far faster than official vendor support channels can. What they're awful for is providing half-working or potentially dangerous answers that look fine but may not apply at all to the problem at hand.
You can say that the root cause of the problem is inexperienced sysadmin staff, and you would be right. However, the same problem exists on the developer side. On the admin side, it's worse because there are honestly a lot of admin staff who can't automate, can't script and some have trouble with the command line. Therefore, when the requirement comes up to do so, these admins are at the mercy of sites like this. The worst of them copy and paste script code without knowing a thing about what it does.
The state of programming and IT doesn't need to be measured by StackOverflow or ServerFault data. It needs to be measured by the number of staff who lean on these resources too hard and lack the fundamental troubleshooting/reasoning skills to filter the content.
You can say the same thing about any book, tutorial or article that contains code. E.g. Sedgewick's "Algorithms in C".
I've been using SE a lot recently. The languages I use a are a bit off the beaten path, and when I filter questions for those languages only, the degradation isn't visible. I can usually find the information I need, my questions get answered comprehensively and correctly, and answering other people's questions helps me hone my own skills. I wouldn't want to lose SE.
I remember when the goto source was dejanews....
love is just extroverted narcissism
Yesterday there was a post titled "The History of SQL Injection, the Hack That Will Never Go Away ".
Someone raised a good point that the problem was more economics than technology.
Employers, with no clue about technology, "employing monkeys and paying them peanuts" to produce something that looks visually ok but hacked into existance underneath.
We, programers, work in an unregulated profession which keeps it dynamic, fast paced and forever evolving.
Regulation = stagnation
So, yes, there's a lot of crap code out there and it won't go away - live with it.
Without Stackoverflow years of man hours would be wasted struggling to figure out some problem that has already been solved by someone else.
Wasn't that the idea behind the free software movement, not having to re-invent the wheel each time?
What about re-debugging, re-attaching, the wheel each time?
If the strength of our profession is in the fluidity, speed of adaptation and evolution then something like Stackoverflow is essential.
If you really need the accreditation of a regulated profession then ask an interviewee for their Stackoverflow account to see what questions they've ask and answered.
Stackoverflow is the best thing that's happened to our profession that I can remember in my 25 years as a programer.
You get a bizarre error message from deep in your toolchain. You paste it into Google. Stack Overflow always comes up. There's some minor version that breaks another tool's minor version, and if you fix it, the new minor version changes syntax and you paste THAT bizarre error message into Google and repeat. Stack Overflow is a symptom of too much change too fast, where no one really learns anything in depth.
I remember when the goto source was dejanews....
Youngster :-)
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
Much like wikipedia, they have a bunch of arrogant pricks in charge of who can post what.
stack overflow is a cancer of people (mainly admins) flexing their ego's. You can ask valid questions and get toxic replies
buckethead programming. The metaphor is of programming with a bucket over your head so you can't see what you're doing but instead just stagger in random directions until you accidentally bump into something that appears to work... at which point you leave it and stagger your way through the next obstacle that arises.
I love this term and definition... thanks! :)
Also while it is horrible, buckethead programming is sometimes a valid strategy... Need to write some static HTML UI for an internal API and you want to make it look pretty: buckethead programming the HTML, CSS and even some of the JS is a fast cheap and valid approach...
If it's just a quick internal thing, there no reason to spend 2 days learning angular, react.js or some other framework. Just buckethead program that thing and stick your head in the sand.
I agree though that buckethead programming is crazy if you're developing a serious high quality product that needs to be maintained. But many things doesn't have so high standards.
That was like computer algorithms class. The official recommended textbooks were the classics on algorithms; Sorting, Queuing, Multithreading with problems like the dining philosophers, going all the way up to how to do a discrete FFT transform. These were all recommended as *the* algorithms to use that "just worked", and it wasn't worth trying to design something faster.
Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
They can cause memory fragmentation + thrash in the memmgt subsystem, unlike arrays which demand contiguous memory, linked lists do not and while that's often touted as an upside (via pointers galore back & forward if doubly linked), it's been shown to halt Exchange servers if you do enough of those pointers to anywhere in ram long enough fragmenting it... fact.
(If given enough small data, it leaves NO larger chunks available & THIS is the problem... if they're overused!)
APK
P.S.=> A little something I used vs. (of all people) Dr. Mark Russinovich in 2003 @ the Windows IT Pro Magazine forums in his article "The Memory Optimization Hoax" & of all things, MS' "ClearMem.exe" was the tool used to unhalt and SPEEDUP those frozen Exchange Servers via MS' own documentations on it working to do so (clearmem is just the same tech as GUI ones but no niceties like scheduling it etc. & I designed the FIRST one no less)... apk
I've been posting/moderating slashdot for years, but just started with stack overflow. Here's my experience.
I definitely agree with and have seen what the articles are driving at. In particular, the "The Decline of Stack Overflow" is absolutely 100% on the money.
I answer questions. At least five / day. In a short time [about a month], I amassed 1000+ rep points. I'm now in the top 0.5% for the quarter. The article's comment about "SO hates new users" is true. Before I got to this point, I used to have more difficulty with certain people. As my point total got higher, the snark level went down. Ironic, because I was doing [trying to do] the best job I could at all times. My answers didn't change in terms of quality, just the tone of comments I got back.
When I post an answer, I take several approaches. Sometimes, a simple "use this function instead" is enough. Sometimes, "change this line from blah1 to blah2". If the OP has made an honest effort to be clear, but the posted code is way off the mark (e.g. has more than two bugs), I'll download it clean it up for style [so I can see OP's logic before I try to fix it], fix the bugs [usually simplifying the logic] and post the complete solution with an explanation of the changes and annotations in code comments.
This is the "cut-n-paste" solution. I may be just doing somebody's homework for them. But, usually, it's just somebody who spent days on the code and is "just stuck" [I've asked some OPs about this]. The controversy is that "if you do that, they'll never learn anything". Possibly. But, it's part of my judgement call on type of response to give. IMO, in addition to research and traditional classes/exercises, one of the best ways to learn is to read more advanced "expert" code. Compare one's original to what the expert did and ask "Why did they do it that way?!". This may foster more research on their part and they will have an "AHA! moment"
Unlike slashdot, one can edit a post [either a question or an answer] and you can delete them. Comments can edited for five minutes and deleted anytime. Now this will seem goofy: If you comment back and forth with a given user over an answer one of you gave, either a collegial discussion or a flame war, eventually an automatic message comes up asking if you'd like to transfer your "discussion" to a chat page. Also, because comments are limited to 500 chars, I sometimes have to post a partial, incomplete answer because what I need to say needs better formatting/highlighting than a comment and wouldn't fit in a comment, even though it's more appropriate as a comment.
The goofy thing is that you start with 1 rep point. You can post a question or a full answer. But, you can't yet post a comment!?
On SO, people edit their questions and answers, based on feedback in the comments. The answer may be edited several times before questioner accepts it. Sometimes, for complex questions, it can take a day or two to come up with the right answer.
Despite all this, once and a while, I get a "heckler" who doesn't like an answer [even though it's correct]. It goes several rounds in the comments, usually the other person doesn't understand the problem space enough to realize the answer was correct [or more subtle than they realized]. So, it goes back and forth, and each time I explain how I was correct, adding clarification or highlighting what I said originally. Eventually, the heckler says "Your answer doesn't answer the question". This is for an answer the OP questioner has "accepted" as the best one.
I've seen reasonable questions downvoted within minutes [I upvote them back]. I've seen people threaten to close the question as unclear, requires opinion, or can _not_ be answered as described. The last one is funny, because the question is clear to me, and I provide a correct answer [that eventually gets upvoted and/or accepted]. Sometimes I send the commenter who is threatening doom a message [you can direct a comment to
Like a good neighbor, fsck is there
More often that Google search only gets me one of these results https://xkcd.com/979/
Of course that just might be an effect of Google's refusal to accept true literal searches anymore. God I miss AltaVista's "near" search modifier...
It's not entirely their fault. They were doing it before gamification was well understood. Now it's an example of how to create a system that doesn't align with the websites stated goal. Offering that there is anyway to improve the system (on meta) is greeted with downvoting and flagging of anything you've ever done.
Last I checked, the average question only had 20 views after 1 day, and the typical question didn't not receive an answer. Woe unto your question if it is not in a popular subject. This tells me the vast majority of people just post questions and never answer questions.
Half of them are a security nightmare, a large chunk some kids homework or some outsourced job to checkerslovakiastan, and the rest by people too cheap to hire a programmer for them.
Let's face it - truly top-tier programmers would not dream of asking questions on 'Stack Overflow'. I, and many other people, would be reluctant to hire anyone who has a history of asking questions there.
Programmers from cheap labor countries with below average skills use these sites to do their work, in essence these guys are 'stealing' work from higher caliber local programmers. Sorry if this irritates you SO contributors but you are responsible for the acceleration of job loss in first world countries. I'm a long time immigrant so don't think this is coming from a xenophobic place.
Where are the jobs for our kids if we keep sending all the work overseas ? Please think before 'contributing' and 'helping' these guys.
Hire Local / Manufacture Local. F@ck the globalists