Live data from Hacker News

How often do people copy and paste from Stack Overflow?

stackoverflow.blog

81–90 of 243 posts

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

#81

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.

[deleted]

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

#82
post #44
post #41

Earlier quoted context omitted.

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

They didn't know it any longer. They are using StackOverflow as a second brain, offloading knowledge to it.

Pensieve.

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

#84

This is an unpopular opinion but I think the answer to this may depend on the age of the engineer. For example, I learned programming before stack overflow. I have most of the standard library syntax in my head and mostly look at spec documents. Once in a great while I will go on stack overflow if I can’t debug a problem but I don’t post on there . In the same way, I suspect some engineers like using video to learn t…

Possibly, but I don't know where the inflection point lies.

Before StackOverflow was a "thing," I recall noticing that it was easier to google spec documents on an electronic component even though I had the manufacturer's databook and Application Notes just across the room.

The ease of searching the pdf on google outweighed the ease of getting up and paging through the physical book. The main difference was in Application Notes: I could sit down and read some of the better ones like a novel (I'm looking at you, Analog Devices :-) and that was easier with the dead tree copy than the online one.

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

#85

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.

I do this for sometimes and get... myself in 2013 answering somebody

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

#86

Ha! Joke's on them. I type it out so it makes it look like I'm doing more work. (But in all seriousness, I normally do type it out, so it forces me to remember what I'm using better.)

Well, hello, Junior. That's thinking!

Ha! Nice username :)

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

#87
post #80

Earlier quoted context omitted.

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…

That's interesting that you say that because I actually have the opposite reaction. When I go to look for documentation and find that it's a PDF, I want to die.

PDFs are horrible as eBooks, but in a manual I prefer the fidelity of a PDF than the reflowing of an ePUB, or the fickleness, slowness, and potential unavailability of a web page.

A well structured and correctly indexed PDF is a godsend, because you just open the table of contents, quickly locate what you're looking for, click and there is your answer. As I said, IBM excels at writing documentation. Every language has a Language Reference manual, and a Programmer's Guide manual. The first is for reference, the second is to learn how to use it, including examples.

Don't take my word for it, you can check out, for example, the COBOL manuals here: https://www.ibm.com/docs/en/i/7.1?topic=languages-cobol

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

#88

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…

You may be interested in https://devdocs.io (offline-friendly documentation tool). And if you prefer a straight up desktop app - https://zealdocs.org

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

#89

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.

I have a hunch that this tendency to look up SO rather than actual language/API docs is prevalent more in some ecosystems than in others.

For eg, with Rust and Go projects I would invariably read the actual docs (which I find are very accessible to read) as compared to when I write Python or C++ where I'm happy to SO my way through my task.

However, what I've found is that reading the actual docs is better for multiple reasons: 1) it reinforces your learning / memory via spaced repitition 2) you tend to glean some extra, related useful info from the docs.

These days I try and put myself in a no SO straitjacket as far as possible, forcing myself to read the actual docs instead.

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

#90
post #10

Ha! Joke's on them. I type it out so it makes it look like I'm doing more work. (But in all seriousness, I normally do type it out, so it forces me to remember what I'm using better.)

The learning works better if you cut and paste it twice, forget to change something and then discover it after a few hours of debugging.

This, yes! Not necessarily the copy/paste part, but definitely the debug part!

I generally like deeper debug sessions, preferably without too much pressure. Getting deep understanding for a problem and figuring out a solution were the most valuable learning experiences in my career. The satisfaction you get from finding a solution to a hard problem, makes them more memorable. Even if the lessons learned afterward are not spectacular, then at least you got a chance to sharpen the tools in your belt to pin point problems as they occur!

Post reply on HN