Live data from Hacker News

How often do people copy and paste from Stack Overflow?

stackoverflow.blog

51–60 of 243 posts

Re: How often do people copy and paste from Stack Overflow?

#51

One of the interview questions I ask is, "if you run in a problem you can't solve, where do you go online to find answers?" Anyone that doesn't answer Stack Overflow is - in my opinion - either lying or very, very new to the industry. (This is for .Net/C# jobs so maybe it's different for other languages.)

I disagree. From your perspective I must be a liar, and that is fine by me.

As, I can't recall the last time I found anything helpful on that platform, that any of my questions were actually answered and certainly not that I copied & pasted any code. I am not claiming that it never happened. It is just so rare that I wouldn't answer your interview question that way. To me that platform is an internet points farm combined with Groundhog Day of basic questions. I might be an extreme outlier of our craft. Just keep in mind that we exist and that not everybody answering the question "incorrectly" is a liar or an idiot. In fact, I would say that only those candidates who answer differently are truly interesting.

Re: How often do people copy and paste from Stack Overflow?

#52
post #26

I have spent multiple hours digging into something, found my own Stack Overflow answer and pasted it back in.

I do this with documents and help articles I've published. "Here, let me show you how to do this." 6 mos later: "How the heck did I do that?... oh yeah. That makes sense, neat."

Re: How often do people copy and paste from Stack Overflow?

#53
post #2

....I have lots of questions about this "homegrown web tracking tool" (assuming this isn't still part of a joke?). What??? Was this opt-in? Did they track across everyone? What was collected? This is troubling, to say the least.

Hey there - I work at SO. Understand your concern and wanted to share some details.

Browsers fire a copy event when you copy, just like a click event fires when you press on a button. We just added analytics to it like we would any other feature on the site.

We didn't track the content of your copy (browsers don't let you see the text content) but we did track the following:

Meta data about the post and it's parent post like the id, owner, score, tags, if it was a question/answer, if it was accepted

If your copy was from a code block or from text content

The Referer header

Standard analytics properties like the date/time, approximated location, account metadata

Here's our privacy policy on analytics: "Analytics information Stack Overflow uses data analytics to ensure site functionality and to optimize our Product and Service offerings to you. We use web browser and mobile analytics to allow us to understand Network and Apps functionality. In doing so, we record information including, for example how often you visit the Network, how often you contribute content, Network and Apps performance data, errors and debugging information, and the type of activity you engage in while on the Network or in your use of our Products and Services. We may on occasion share this information with third parties for research or product and services optimization."

Re: How often do people copy and paste from Stack Overflow?

#54

One of the interview questions I ask is, "if you run in a problem you can't solve, where do you go online to find answers?" Anyone that doesn't answer Stack Overflow is - in my opinion - either lying or very, very new to the industry. (This is for .Net/C# jobs so maybe it's different for other languages.)

Searching online to find help to solve a problem doesn't equal to use Stack Overflow, at least in my experience.

It may be the type of problems, but I can't even remember the last time that DDG took me to SO and it was actually the answer that I was looking for.

I think I've found more answers searching for open issues in GH than anything else.

Re: How often do people copy and paste from Stack Overflow?

#55

IMO its not even that we're copying people's logic, its just that stack overflow acts as a weird sort of crowd-sourced centralized documentation for programming languages. For example if I forget the name of a function for something in a particular language I don't even go to the docs, I just google something like "python reverse list" and click the first SO link.

It's a shame that most manuals have evolved to web pages that you can't download as PDFs or eBooks. Now you usually have to go online to find that keyword, and as you're online already, might as well google for the whole answer.

One of the most productive times in my career was programming for the IBM i in the 90s. There were manuals online, but you could also download indexed PDFs versions. IBM did a superb job with their documentation, there was hardly any need to look up anything in the Internet, whatever you needed was in the manuals, examples included.

Of course you still used the Internet at work, but mostly for mingling with your peers and having technical discussions, although too many people still blindly copied/pasted from the forums.

Re: How often do people copy and paste from Stack Overflow?

#56

I do it all the time for clever tricks (especially SQL things like tally tables), but like to leave the permalink to the answer that seems best (from the share link below the answers) as a comment in my code. If it's something I had to google for once, it's likely needed in the future and sometimes it's easier to search my own code for all SO links than follow the thread through the labyrinth again...

Stack Overflow answers are licensed under a CC BY-SA license.[0] If you copy and paste a function without (at least) linking to the question, isn't that copyright infringement?

[0] https://meta.stackexchange.com/questions/333089/

Re: How often do people copy and paste from Stack Overflow?

#57

One of the interview questions I ask is, "if you run in a problem you can't solve, where do you go online to find answers?" Anyone that doesn't answer Stack Overflow is - in my opinion - either lying or very, very new to the industry. (This is for .Net/C# jobs so maybe it's different for other languages.)

Eh depends on the language. For elixir I go to the elixirforum not stackoverflow

Re: How often do people copy and paste from Stack Overflow?

#58

IMO its not even that we're copying people's logic, its just that stack overflow acts as a weird sort of crowd-sourced centralized documentation for programming languages. For example if I forget the name of a function for something in a particular language I don't even go to the docs, I just google something like "python reverse list" and click the first SO link.

Is it just me or is this also a symptom of Python's documentation being really strange to navigate and generally having a massive impedance mismatch with Google?

When I search on Google for "python reverse list", not a single link is to the official Python documentation. Not even if I search for "python reverse" does the documentation page show up. Searching for "python reverse documentation" leads to the second link to the Build-in Functions page (https://docs.python.org/3/library/functions.html), which is what I "need".

Excuse the comparison, but "matlab reverse list" has the top three to the official documentation (all of them relevant, but slightly different semantics). Why can't Python be better than that?

Re: How often do people copy and paste from Stack Overflow?

#59
post #41
post #26

I have spent multiple hours digging into something, found my own Stack Overflow answer and pasted it back in.

Why did you spend hours digging into something you already knew the answer to?

Solving a problem once doesn't guarantee it's added to your knowledge. Learning needs repetition, if you solve that problem once a year, you'll learn it very slowly.

Re: How often do people copy and paste from Stack Overflow?

#60

One of the interview questions I ask is, "if you run in a problem you can't solve, where do you go online to find answers?" Anyone that doesn't answer Stack Overflow is - in my opinion - either lying or very, very new to the industry. (This is for .Net/C# jobs so maybe it's different for other languages.)

1. web search (google/bing/ddg) - often that will lead to SO, but also turn up some other relevant forums. 2. docs on package X. If I'm reasonably certain a problem is with a specific package, I'll search for a forum or issue tracker (often GitHub) for that package. 3. language-specific community. there are some lang-spec sites/forums that help with the nitty-gritty sometimes that SO and similar sites don't always ge…

and lord help you when you are on page 6 of a google search and not finding it... :(
Post reply on HN